비밀번호 만료 처리 변수명 수정 및 로직 수정.
This commit is contained in:
parent
d5b6514f48
commit
51a84ee42f
|
@ -275,7 +275,7 @@ export class Effects {
|
|||
}
|
||||
}
|
||||
|
||||
if (!!loginRes.passwordExpired) {
|
||||
if (!loginRes.passwordValid) {
|
||||
const result = await this.dialogService.open<
|
||||
ChangePasswordDialogComponent,
|
||||
ChangePasswordDialogData,
|
||||
|
|
|
@ -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<LoginResponse> = (
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user