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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user