@arsedizioni/ars-utils 20.3.16 → 20.3.17
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.
|
@@ -2307,10 +2307,11 @@ class ClipperService {
|
|
|
2307
2307
|
return throwError(() => err);
|
|
2308
2308
|
}), map((r) => {
|
|
2309
2309
|
if (r.success) {
|
|
2310
|
-
if (!this._loginInfo)
|
|
2310
|
+
if (!this._loginInfo) {
|
|
2311
2311
|
this._loginInfo = { context: undefined };
|
|
2312
|
+
}
|
|
2312
2313
|
this._loginInfo.oauth = oauth;
|
|
2313
|
-
this._loginInfo.remember =
|
|
2314
|
+
this._loginInfo.remember = (flags & ClipperLoginFlags.RememberCredentials) > 0;
|
|
2314
2315
|
if (!oauth && r.value.requiresMfa) {
|
|
2315
2316
|
// Notify login is pending
|
|
2316
2317
|
this.broadcastService.sendMessage(ClipperMessages.LOGIN_PENDING, { flags: flags });
|