ngx-techlify-core 14.4.3 → 14.6.2
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.
|
@@ -3389,13 +3389,13 @@ class AuthenticationService {
|
|
|
3389
3389
|
tokenInfo.expires_in = Date.now() + (tokenInfo.expires_in * 1000);
|
|
3390
3390
|
data.token = tokenInfo;
|
|
3391
3391
|
data.user = {};
|
|
3392
|
+
this.credentialsService.setCredentials(data, context.remember);
|
|
3392
3393
|
return this.http.get('api/user/current')
|
|
3393
3394
|
.pipe(map((res) => {
|
|
3394
3395
|
data.user = res?.user;
|
|
3396
|
+
this.credentialsService.setCredentials(data, context.remember);
|
|
3395
3397
|
return data;
|
|
3396
3398
|
}));
|
|
3397
|
-
}), finalize(() => {
|
|
3398
|
-
this.credentialsService.setCredentials(data, context.remember);
|
|
3399
3399
|
}));
|
|
3400
3400
|
}
|
|
3401
3401
|
/**
|