reset page expiry options on logout
This commit is contained in:
parent
e2259ae737
commit
294cd0dfa8
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ export default function(state, emitter) {
|
|||
|
||||
emitter.on('logout', () => {
|
||||
state.user.logout();
|
||||
state.timeLimit = DEFAULTS.EXPIRE_SECONDS;
|
||||
state.downloadCount = 1;
|
||||
emitter.emit('pushState', '/');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue