-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aposPrefix in loginBase.html #984
Closed
thecb4 opened this issue
Aug 25, 2017
· 2 comments
· May be fixed by ebarahona/apostrophe#26, mdno/apostrophe#30, falkodev/apostrophe#19, mdno/apostrophe#42 or falkodev/apostrophe#32
Closed
aposPrefix in loginBase.html #984
thecb4 opened this issue
Aug 25, 2017
· 2 comments
· May be fixed by ebarahona/apostrophe#26, mdno/apostrophe#30, falkodev/apostrophe#19, mdno/apostrophe#42 or falkodev/apostrophe#32
Comments
It's a bug! Left over from 0.5 and inadequately tested. Try
apostrophe.prefix? Pull request welcome.
…On Aug 24, 2017 6:21 PM, "thecb4" ***@***.***> wrote:
I'm using nginx to proxy and leveraging the prefix capability in
apostrophe. When working through the login, I kept getting an error that
wasn't seeming to respect the apos.prefix I've set.
It looks like the apostrophe-login module loginBase.html is using an
aposPrefix variable.
<form action="{% block action %}{{ aposPrefix }}/login{% endblock %}"
method="post">
Is this meant to be a separate variable that I need to set in the app.js
in addition to the apos.prefix variable?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#984>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB9fcYAju2rm0QPIvwuX9ZyCBYcnODpks5sbiGjgaJpZM4PCHiD>
.
|
This seems to work perfectly. Will work through pull request
`<form action="{% block action %}{{ apos.prefix }}/login{% endblock %}" method="post”>`
… On 2017-Aug -24 (35), at 21:39, Tom Boutell ***@***.***> wrote:
It's a bug! Left over from 0.5 and inadequately tested. Try
apostrophe.prefix? Pull request welcome.
On Aug 24, 2017 6:21 PM, "thecb4" ***@***.***> wrote:
> I'm using nginx to proxy and leveraging the prefix capability in
> apostrophe. When working through the login, I kept getting an error that
> wasn't seeming to respect the apos.prefix I've set.
>
> It looks like the apostrophe-login module loginBase.html is using an
> aposPrefix variable.
>
> <form action="{% block action %}{{ aposPrefix }}/login{% endblock %}"
> method="post">
>
> Is this meant to be a separate variable that I need to set in the app.js
> in addition to the apos.prefix variable?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#984>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAB9fcYAju2rm0QPIvwuX9ZyCBYcnODpks5sbiGjgaJpZM4PCHiD>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#984 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABJsRPxbTcolBfJQMGPmZc3awGx5VGkhks5sbiXmgaJpZM4PCHiD>.
|
This was referenced Apr 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using nginx to proxy and leveraging the prefix capability in apostrophe. When working through the login, I kept getting an error that wasn't seeming to respect the apos.prefix I've set.
It looks like the apostrophe-login module loginBase.html is using an aposPrefix variable.
<form action="{% block action %}{{ aposPrefix }}/login{% endblock %}" method="post">
Is this meant to be a separate variable that I need to set in the app.js in addition to the apos.prefix variable?
The text was updated successfully, but these errors were encountered: