mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update AdminInvite component, fix email regex
This commit is contained in:
parent
48485d44e7
commit
2aea77d3d2
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return /^[a-z0-9.]{1,64}@[a-z0-9.]{1,64}$/i.test(this.form.email);
|
return /^[a-zA-Z]+[a-zA-Z0-9_.-]+@[a-zA-Z0-9_.-]+[a-zA-Z]$/i.test(this.form.email);
|
||||||
},
|
},
|
||||||
|
|
||||||
handleRegistration() {
|
handleRegistration() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue