-
Notifications
You must be signed in to change notification settings - Fork 4
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
Problem: Signing out from settings throws an error #44
Labels
bug
Something isn't working
Comments
ping @ioioio8888 can you check if this is doing anything nasty or doesn't really matter? |
We should also protect pages that require user authentication. I believe
that there are components that behave the same way
…On Thu, 12 Sep 2019 at 06:42, Louis Lui ***@***.***> wrote:
it happens because after user logout, the current user object becomes null
but the code is still trying accessing it.
[image: image]
<https://user-images.githubusercontent.com/19797490/64752452-35e8e200-d552-11e9-89b6-e16d47fc782b.png>
Solution: redirect user back to welcome page after logout
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#44?email_source=notifications&email_token=ABCE5CB4R6ELYCAGVDK3P2DQJG3C7A5CNFSM4IVRAKZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6QRUEQ#issuecomment-530651666>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABCE5CCVJEAER5OKOWPSR4LQJG3C7ANCNFSM4IVRAKZQ>
.
|
Taking over |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem: Signing out from the settings throws the following errors in console
The text was updated successfully, but these errors were encountered: