reset page expiry options on logout
This commit is contained in:
parent
e2259ae737
commit
294cd0dfa8
@ -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 New Issue
Block a user