bugfix
This commit is contained in:
parent
da5188c3bf
commit
e104718a10
|
@ -81,12 +81,7 @@ export class RegistComposeComponent implements OnInit {
|
|||
],
|
||||
password: [
|
||||
'beteran',
|
||||
[
|
||||
Validators.required,
|
||||
Validators.pattern(
|
||||
'^(?=.*[A-Za-z])(?=.*d)(?=.*[@$!%*#?&])[A-Za-zd@$!%*#?&]{8,20}$'
|
||||
),
|
||||
],
|
||||
[Validators.required, Validators.pattern('^[A-Za-zd@$!%*#?&]{8,20}$')],
|
||||
],
|
||||
exchangePassword: [
|
||||
'beteran',
|
||||
|
|
|
@ -81,7 +81,12 @@
|
|||
[svgIcon]="'heroicons_solid:eye-off'"
|
||||
></mat-icon>
|
||||
</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>
|
||||
|
||||
<div style="width: 320px; height: 88px">
|
||||
|
|
|
@ -49,9 +49,15 @@ export class AuthSignInComponent implements OnInit {
|
|||
this.signInForm = this._formBuilder.group({
|
||||
email: [
|
||||
'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],
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user