bugfix
This commit is contained in:
parent
da5188c3bf
commit
e104718a10
|
@ -81,12 +81,7 @@ export class RegistComposeComponent implements OnInit {
|
||||||
],
|
],
|
||||||
password: [
|
password: [
|
||||||
'beteran',
|
'beteran',
|
||||||
[
|
[Validators.required, Validators.pattern('^[A-Za-zd@$!%*#?&]{8,20}$')],
|
||||||
Validators.required,
|
|
||||||
Validators.pattern(
|
|
||||||
'^(?=.*[A-Za-z])(?=.*d)(?=.*[@$!%*#?&])[A-Za-zd@$!%*#?&]{8,20}$'
|
|
||||||
),
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
exchangePassword: [
|
exchangePassword: [
|
||||||
'beteran',
|
'beteran',
|
||||||
|
|
|
@ -81,7 +81,12 @@
|
||||||
[svgIcon]="'heroicons_solid:eye-off'"
|
[svgIcon]="'heroicons_solid:eye-off'"
|
||||||
></mat-icon>
|
></mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<mat-error> 비밀번호를 입력하세요 </mat-error>
|
<mat-error *ngIf="signInForm.get('password')?.hasError('required')">
|
||||||
|
비밀번호를 입력하세요
|
||||||
|
</mat-error>
|
||||||
|
<mat-error *ngIf="signInForm.get('password')?.hasError('pattern')">
|
||||||
|
올바른 비밀번호를 입력하세요.
|
||||||
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<div style="width: 320px; height: 88px">
|
<div style="width: 320px; height: 88px">
|
||||||
|
|
|
@ -49,9 +49,15 @@ export class AuthSignInComponent implements OnInit {
|
||||||
this.signInForm = this._formBuilder.group({
|
this.signInForm = this._formBuilder.group({
|
||||||
email: [
|
email: [
|
||||||
'administrator',
|
'administrator',
|
||||||
[Validators.required, Validators.pattern('^[a-zA-Z0-9]{6,12}$')],
|
[Validators.required, Validators.pattern('^[a-zA-Z0-9]{6,14}$')],
|
||||||
|
],
|
||||||
|
password: [
|
||||||
|
'beteran',
|
||||||
|
[
|
||||||
|
Validators.required,
|
||||||
|
// Validators.pattern('^[A-Za-z\\d@$!%*#?&]{8,20}$'),
|
||||||
|
],
|
||||||
],
|
],
|
||||||
password: ['beteran', Validators.required],
|
|
||||||
captchaSecurityCode: ['', Validators.required],
|
captchaSecurityCode: ['', Validators.required],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user