From d2f270822437f771bad75bcc97723c3950539e85 Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 17 Dec 2019 08:55:06 +0900 Subject: [PATCH] =?UTF-8?q?[=EB=8C=80=EC=83=81=ED=96=A5]=20=EC=9B=B9?= =?UTF-8?q?=EB=A7=81=ED=81=AC=20=EC=B2=98=EB=A6=AC=EB=A5=BC=20=EC=9C=84?= =?UTF-8?q?=ED=95=9C=20appUserInfo=20=EC=A0=80=EC=9E=A5=20=EB=A1=9C?= =?UTF-8?q?=EC=A7=81=20=EB=B3=80=EA=B2=BD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/services/authentication.service.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 f763d153..5d581e1e 100644 --- a/projects/ucap-webmessenger-app/src/app/services/authentication.service.ts +++ b/projects/ucap-webmessenger-app/src/app/services/authentication.service.ts @@ -62,13 +62,17 @@ export class AppAuthenticationService { }; } + appUserInfo = { + ...appUserInfo, + companyGroupType: loginInfo.companyGroupType, + companyCode: loginInfo.companyCode, + loginId: loginInfo.loginId, + loginPw: loginInfo.loginPw + }; + if (rememberMe || autoLogin) { appUserInfo = { ...appUserInfo, - companyGroupType: loginInfo.companyGroupType, - companyCode: loginInfo.companyCode, - loginId: loginInfo.loginId, - loginPw: autoLogin ? loginInfo.loginPw : undefined, rememberMe, autoLogin };