1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-06 18:43:14 +00:00

[bug] Reset tokens when toggling

This commit is contained in:
addison
2021-11-17 08:45:15 -05:00
parent a74cebf73e
commit ea662e1eac

View File

@@ -68,7 +68,6 @@ export class TokenService implements TokenServiceAbstraction {
if ((timeout != null || timeout === 0) && action === 'logOut') {
// if we have a vault timeout and the action is log out, reset tokens
await this.clearToken();
return;
}
await this.setToken(token);