This commit is contained in:
khk 2020-01-17 11:19:48 +09:00
commit a88e5d9ffa

View File

@ -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
);
}
}