ngx-sp-auth 4.17.6 → 4.17.8
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/fesm2022/ngx-sp-auth.mjs
CHANGED
|
@@ -828,13 +828,14 @@ class AuthStorageService {
|
|
|
828
828
|
}
|
|
829
829
|
if (this.ignoreCheckLogin) {
|
|
830
830
|
this.ignoreCheckLogin = false;
|
|
831
|
+
setTimeout(this.reCheckLogin.bind(this), leftTime * 1000);
|
|
831
832
|
}
|
|
832
833
|
else {
|
|
834
|
+
this.isLoggedInSub.next(true);
|
|
835
|
+
setTimeout(this.reCheckLogin.bind(this), leftTime * 1000);
|
|
833
836
|
// Método com customizações para inicializações da AutoStorage
|
|
834
837
|
this._customStorageService.storageInitializeAutoStorage();
|
|
835
838
|
}
|
|
836
|
-
this.isLoggedInSub.next(true);
|
|
837
|
-
setTimeout(this.reCheckLogin.bind(this), leftTime * 1000);
|
|
838
839
|
}
|
|
839
840
|
logout() {
|
|
840
841
|
this.__isCheckingAuth = false;
|