Receive Flag (#6331)
This commit is contained in:
parent
070f1f3c6e
commit
d6a8889d84
4 changed files with 40 additions and 4 deletions
|
@ -289,7 +289,7 @@ export class UserRepository extends Repository<User> {
|
|||
|
||||
//#region Validators
|
||||
public validateLocalUsername = $.str.match(/^\w{1,20}$/);
|
||||
public validateRemoteUsername = $.str.match(/^\w([\w-]*\w)?$/);
|
||||
public validateRemoteUsername = $.str.match(/^\w([\w-.]*\w)?$/);
|
||||
public validatePassword = $.str.min(1);
|
||||
public validateName = $.str.min(1).max(50);
|
||||
public validateDescription = $.str.min(1).max(500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue