From 660fce9dc6a0404eebe66878ed221c0fc9eca704 Mon Sep 17 00:00:00 2001 From: leejinho Date: Fri, 17 Jan 2020 10:03:07 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=95=84=EC=9B=83,=20?= =?UTF-8?q?=EA=B0=95=EC=A0=9C=EB=A1=9C=EA=B7=B8=EC=95=84=EC=9B=83=EC=8B=9C?= =?UTF-8?q?=20=EC=9E=90=EB=8F=99=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=ED=95=B4?= =?UTF-8?q?=EC=A0=9C=EA=B8=B0=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/services/authentication.service.ts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/projects/ucap-webmessenger-app/src/app/services/authentication.service.ts b/projects/ucap-webmessenger-app/src/app/services/authentication.service.ts index 5a042acf..3dc29175 100644 --- a/projects/ucap-webmessenger-app/src/app/services/authentication.service.ts +++ b/projects/ucap-webmessenger-app/src/app/services/authentication.service.ts @@ -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( + KEY_APP_USER_INFO, + environment.customConfig.appKey + ); + + appUserInfo = { + ...appUserInfo, + settings: { + ...appUserInfo.settings, + general: { + ...appUserInfo.settings.general, + autoLogin: false + } + } + }; + + this.localStorageService.encSet( + KEY_APP_USER_INFO, + appUserInfo, + environment.customConfig.appKey + ); } }