From 51a84ee42f7ad5e7e2cdf1dcf90d57c8e31dbacf Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 3 Dec 2019 14:30:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EB=A7=8C=EB=A3=8C=20=EC=B2=98=EB=A6=AC=20=EB=B3=80=EC=88=98?= =?UTF-8?q?=EB=AA=85=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EB=A1=9C=EC=A7=81?= =?UTF-8?q?=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/store/account/authentication/effects.ts | 2 +- .../src/lib/protocols/login.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts b/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts index aff0ba2b..a59fdb02 100644 --- a/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts +++ b/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts @@ -275,7 +275,7 @@ export class Effects { } } - if (!!loginRes.passwordExpired) { + if (!loginRes.passwordValid) { const result = await this.dialogService.open< ChangePasswordDialogComponent, ChangePasswordDialogData, diff --git a/projects/ucap-webmessenger-protocol-authentication/src/lib/protocols/login.ts b/projects/ucap-webmessenger-protocol-authentication/src/lib/protocols/login.ts index 6d02b73e..5a678a3b 100644 --- a/projects/ucap-webmessenger-protocol-authentication/src/lib/protocols/login.ts +++ b/projects/ucap-webmessenger-protocol-authentication/src/lib/protocols/login.ts @@ -79,7 +79,8 @@ export interface LoginResponse extends ProtocolResponse { hardPhoneSadn: string; fmcSadn: string; pbxIndex: number; - passwordExpired: boolean; + /** PW 유효 여부(s) | Y : 유효함 N : 만료됨 */ + passwordValid: boolean; validAccount: boolean; validDevice: boolean; useableDevice: boolean; @@ -183,7 +184,7 @@ export const decodeLogin: ProtocolDecoder = ( hardPhoneSadn: message.bodyList[19], fmcSadn: message.bodyList[20], pbxIndex: message.bodyList[21], - passwordExpired: message.bodyList[22] === 'Y' ? true : false, + passwordValid: message.bodyList[22] === 'Y' ? true : false, validAccount: message.bodyList[23] === 'Y' ? true : false, validDevice: message.bodyList[24] === 'Y' ? true : false, useableDevice: message.bodyList[25] === 'Y' ? true : false,