비밀번호 만료 처리 변수명 수정 및 로직 수정.
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<
|
const result = await this.dialogService.open<
|
||||||
ChangePasswordDialogComponent,
|
ChangePasswordDialogComponent,
|
||||||
ChangePasswordDialogData,
|
ChangePasswordDialogData,
|
||||||
|
|
|
@ -79,7 +79,8 @@ export interface LoginResponse extends ProtocolResponse {
|
||||||
hardPhoneSadn: string;
|
hardPhoneSadn: string;
|
||||||
fmcSadn: string;
|
fmcSadn: string;
|
||||||
pbxIndex: number;
|
pbxIndex: number;
|
||||||
passwordExpired: boolean;
|
/** PW 유효 여부(s) | Y : 유효함 N : 만료됨 */
|
||||||
|
passwordValid: boolean;
|
||||||
validAccount: boolean;
|
validAccount: boolean;
|
||||||
validDevice: boolean;
|
validDevice: boolean;
|
||||||
useableDevice: boolean;
|
useableDevice: boolean;
|
||||||
|
@ -183,7 +184,7 @@ export const decodeLogin: ProtocolDecoder<LoginResponse> = (
|
||||||
hardPhoneSadn: message.bodyList[19],
|
hardPhoneSadn: message.bodyList[19],
|
||||||
fmcSadn: message.bodyList[20],
|
fmcSadn: message.bodyList[20],
|
||||||
pbxIndex: message.bodyList[21],
|
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,
|
validAccount: message.bodyList[23] === 'Y' ? true : false,
|
||||||
validDevice: message.bodyList[24] === 'Y' ? true : false,
|
validDevice: message.bodyList[24] === 'Y' ? true : false,
|
||||||
useableDevice: message.bodyList[25] === 'Y' ? true : false,
|
useableDevice: message.bodyList[25] === 'Y' ? true : false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user