mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-08 20:22:45 +01:00
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