reset page expiry options on logout

This commit is contained in:
Danny Coates
2018-09-24 15:25:08 -07:00
parent e2259ae737
commit 294cd0dfa8
+2
View File
@@ -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', '/');
});