bug fix
This commit is contained in:
parent
15457adeda
commit
da5188c3bf
|
@ -77,29 +77,26 @@ export class RegistComposeComponent implements OnInit {
|
||||||
siteId: ['', [Validators.required]],
|
siteId: ['', [Validators.required]],
|
||||||
username: [
|
username: [
|
||||||
'',
|
'',
|
||||||
[
|
[Validators.required, Validators.pattern('^[a-zA-Z0-9]{6,12}$')],
|
||||||
Validators.required,
|
|
||||||
Validators.pattern('^[a-zA-Z][a-zA-Z0-9]{6,12}\\w'),
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
password: [
|
password: [
|
||||||
'beteran',
|
'beteran',
|
||||||
[
|
[
|
||||||
Validators.required,
|
Validators.required,
|
||||||
Validators.pattern(
|
Validators.pattern(
|
||||||
'^(?=.*[A-Za-z])(?=.*d)(?=.*[@$!%*#?&])[A-Za-zd@$!%*#?&]{8,20}'
|
'^(?=.*[A-Za-z])(?=.*d)(?=.*[@$!%*#?&])[A-Za-zd@$!%*#?&]{8,20}$'
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
exchangePassword: [
|
exchangePassword: [
|
||||||
'beteran',
|
'beteran',
|
||||||
[Validators.required, Validators.pattern('^[a-zA-Z0-9]{4,8}')],
|
[Validators.required, Validators.pattern('^[a-zA-Z0-9]{4,8}$')],
|
||||||
],
|
],
|
||||||
nickname: [
|
nickname: [
|
||||||
'',
|
'',
|
||||||
[
|
[
|
||||||
Validators.required,
|
Validators.required,
|
||||||
Validators.pattern('^[a-z|0-9|ㄱ-ㅎ|가-힣]{2,8}'),
|
Validators.pattern('^[a-z|0-9|ㄱ-ㅎ|가-힣]{2,8}$'),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
calculateType: ['', [Validators.required]],
|
calculateType: ['', [Validators.required]],
|
||||||
|
|
|
@ -49,10 +49,7 @@ 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-Z][a-zA-Z0-9]{6,12}\\w'),
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
password: ['beteran', Validators.required],
|
password: ['beteran', Validators.required],
|
||||||
captchaSecurityCode: ['', Validators.required],
|
captchaSecurityCode: ['', Validators.required],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user