회원수정 passowrd 처리

This commit is contained in:
이담 정 2022-11-28 00:46:08 +00:00
parent 13d65a58bf
commit e3b656e8a9
2 changed files with 34 additions and 3 deletions

View File

@ -204,17 +204,33 @@
<mat-label>비밀번호</mat-label>
<input
id="signinPw"
[type]="hideSigninPassword ? 'password' : 'text'"
matInput
[formControlName]="'signinPw'"
/>
<mat-icon
matSuffix
(click)="hideSigninPassword = !hideSigninPassword"
>{{
hideSigninPassword ? "visibility_off" : "visibility"
}}</mat-icon
>
</mat-form-field>
<mat-form-field class="w-1/3 pr-2">
<mat-label>비밀번호 확인</mat-label>
<input
id="signinPwConfirm"
[type]="hideSigninPassword ? 'password' : 'text'"
matInput
[formControlName]="'signinPwConfirm'"
/>
<mat-icon
matSuffix
(click)="hideSigninPassword = !hideSigninPassword"
>{{
hideSigninPassword ? "visibility_off" : "visibility"
}}</mat-icon
>
</mat-form-field>
<div class="w-1/3 pr-2 mt-8">
<button
@ -378,17 +394,31 @@
<mat-label>환전 비밀번호</mat-label>
<input
id="exchangePw"
[type]="hideExchangePassword ? 'password' : 'text'"
matInput
[formControlName]="'exchangePw'"
/>
/><mat-icon
matSuffix
(click)="hideExchangePassword = !hideExchangePassword"
>{{
hideExchangePassword ? "visibility_off" : "visibility"
}}</mat-icon
>
</mat-form-field>
<mat-form-field class="w-1/3 pr-2">
<mat-label>환전 비밀번호 확인</mat-label>
<input
id="exchangePwConfirm"
[type]="hideExchangePassword ? 'password' : 'text'"
matInput
[formControlName]="'exchangePwConfirm'"
/>
/><mat-icon
matSuffix
(click)="hideExchangePassword = !hideExchangePassword"
>{{
hideExchangePassword ? "visibility_off" : "visibility"
}}</mat-icon
>
</mat-form-field>
<div class="w-1/3 pr-2 mt-8">
<button

View File

@ -154,7 +154,8 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
type: 'success',
message: '비밀번호가 수정 되었습니다.',
};
hideSigninPassword: boolean = true;
hideExchangePassword: boolean = true;
changePasswordResultShowAlert: boolean = false;
alertTitle = '알림';
alertChangePasswordMessage = '비밀번호를 변경 하시겠습니까?';