genouest / biomaj-watcher

Web interface for Biomaj management
1 stars 4 forks source link

User not logged out when reload button pressed #18

Closed horkko closed 7 years ago

horkko commented 8 years ago

Hi,

I've installed biomaj-watcher and I've noticed that when I log in fromthe interface of biomaj-watcher and I log out it seems to work correctly. However, if I press the "reload" button from my web browser, it appears that I'm still logged in :( Have you any clue of that?

Thx Emmanuel

osallou commented 8 years ago

I suppose the token is not removed from local storage, will have a look

osallou commented 8 years ago

in fact no, there is no jwt token with biomaj, only standard session login. I checked code and logout is made on server. Can you check the request on /auth on page reload ? (what is the query answer)

horkko commented 8 years ago

Hi,

The problem seem gone now. I cannot reproduce it today ??? with Chrome at least. However, with Firefox, the problem persists. If I click 'logout' some tabs disappear from the menu, but for example, on bank list tab, the button 'Add New' is displayed and the button 'loggout' is not here anymore :( So the problem is with Firefox actually

osallou commented 8 years ago

cookie management pb with firefox?

horkko commented 8 years ago

I removed auth cookie and reload the page. It seems to work ok now.