Skip to content
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

client: Log out user instead of showing 403 Forbidden error #960

Merged
merged 1 commit into from
Jun 27, 2017

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented Jun 25, 2017

Pull Request #931 moved the authentication client side, which worsened the issue #919 by displaying error instead of the login form on opening selfoss when user did not log out and their session expired on the server.

This patch redirects user to login form whenever client side session is registered and 403 Forbidden error is received.

This is a temporary fix before offline support is merged.

Pull Request #931 moved the authentication client side, which worsened
the issue #919 by displaying error instead of the login form on opening
selfoss when user did not log out and their session expired on the
server.

This patch redirects user to login form whenever client side session is
registered and 403 Forbidden error is received.

This is a temporary fix before offline support is merged.
@jtojnar jtojnar force-pushed the logout-on-expired-session branch from 23e7a03 to 690b2a5 Compare June 27, 2017 12:52
@jtojnar jtojnar merged commit 690b2a5 into master Jun 27, 2017
@jtojnar jtojnar deleted the logout-on-expired-session branch June 27, 2017 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant