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,