Merge branch 'master' of https://git.loafle.net/ucap-web/next-ucap-messenger
This commit is contained in:
commit
a88e5d9ffa
|
@ -110,5 +110,27 @@ export class AppAuthenticationService {
|
|||
this.sessionStorageService.remove(KEY_LOGIN_INFO);
|
||||
this.sessionStorageService.remove(KEY_URL_INFO);
|
||||
this.sessionStorageService.remove(KEY_AUTH_INFO);
|
||||
|
||||
let appUserInfo = this.localStorageService.encGet<AppUserInfo>(
|
||||
KEY_APP_USER_INFO,
|
||||
environment.customConfig.appKey
|
||||
);
|
||||
|
||||
appUserInfo = {
|
||||
...appUserInfo,
|
||||
settings: {
|
||||
...appUserInfo.settings,
|
||||
general: {
|
||||
...appUserInfo.settings.general,
|
||||
autoLogin: false
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
this.localStorageService.encSet<AppUserInfo>(
|
||||
KEY_APP_USER_INFO,
|
||||
appUserInfo,
|
||||
environment.customConfig.appKey
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user