-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Logout: Redirect to base URI instead of "/" #1901
Comments
Wish we had never added this feature! 😂 |
lastzero
added a commit
that referenced
this issue
Jan 17, 2022
Is it working for you now with our Development Preview? |
I, on the other hand, greatly appreciate that it exists.
It is working for me on dev preview |
Thanks for testing :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What does not work as expected?
When logging out of Photoprism both explicitly and due to session expiry I am redirected to the site root URL even when I have a non-root site URL defined.
How can we reproduce it?
Steps to reproduce the behavior:
PHOTOPRISM_SITE_URL
, e.g.PHOTOPRISM_SITE_URL=https://example.com/photoprism/
https://example.com/
What behavior do you expect?
Logout button should take you to the configured non-root site URL e.g.
https://example.com/photoprism/
What version you are using?
211215
Any other helpful information?
This appears to be coming from a
onLogout
insidefrontend/src/common/session.js
:window.location
should be set to the same value configured inPHOTOPRISM_SITE_URL
The text was updated successfully, but these errors were encountered: