zek 14.2.64 → 14.2.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/zek.mjs
CHANGED
|
@@ -1140,7 +1140,9 @@ class AuthService {
|
|
|
1140
1140
|
this._stopRefreshTokenTimer();
|
|
1141
1141
|
let user = this.user;
|
|
1142
1142
|
if (user && user.refreshTokenTime) {
|
|
1143
|
-
|
|
1143
|
+
let timeout = user.refreshTokenTime.getTime() - Date.now(); // - (60 * 1000);
|
|
1144
|
+
if (timeout < 0)
|
|
1145
|
+
timeout = 0;
|
|
1144
1146
|
this._refreshTokenTimeout = setTimeout(() => {
|
|
1145
1147
|
if (this._onRefreshTokenSubject) {
|
|
1146
1148
|
this._onRefreshTokenSubject.next();
|