mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-02 04:48:57 +02:00
cache _decodedToken
This commit is contained in:
parent
8d3d51a930
commit
88b2d1270a
@ -150,7 +150,8 @@ function initTokenService() {
|
||||
throw 'Cannot decode the token';
|
||||
}
|
||||
|
||||
return JSON.parse(decoded);
|
||||
_decodedToken = JSON.parse(decoded);
|
||||
return _decodedToken;
|
||||
};
|
||||
|
||||
TokenService.prototype.getTokenExpirationDate = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user