Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Hide notifications on forced logout #792

Open
nicofrand opened this issue Aug 8, 2016 · 4 comments
Open

Hide notifications on forced logout #792

nicofrand opened this issue Aug 8, 2016 · 4 comments
Labels

Comments

@nicofrand
Copy link
Contributor

After a logout triggered by an update (I think), the notifications should not appear and I should not be able to click on the notification icon.

cozy-bug-disconnected

The issue might be a bit different though : I should not see the "Logout" icon either…

@jsilvestre
Copy link
Contributor

jsilvestre commented Aug 12, 2016

Thank you for your report.
How did you end up in this case please? The expected behavior is to be redirected to the login screen.

@jsilvestre jsilvestre added the bug label Aug 12, 2016
@clochix
Copy link
Contributor

clochix commented Aug 31, 2016

It looks like @nicofrand was using TheLounge and get disconnected. So when TheLounge sent a request to to server, it got a 301 redirecting the frame to the login page, but the main frame has not been refreshed.

@nicofrand
Copy link
Contributor Author

That was probably the case indeed, thanks @clochix !

@clochix
Copy link
Contributor

clochix commented Sep 2, 2016

Not sure how to handle this, could we use the real time mechanism to notify the Home when current session ends?
We should probably display a warning instead a redirecting user to login page, so they can locally save their work instead of losing it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants