mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-14 15:45:49 +01:00
add user edit page
This commit is contained in:
@@ -12,7 +12,6 @@ function errorsToError(errors: ValidationErrors | null): string {
|
||||
}
|
||||
|
||||
export const UsernameValidators = [
|
||||
Validators.required,
|
||||
Validators.minLength(4),
|
||||
Validators.maxLength(32),
|
||||
Validators.pattern('^[a-zA-Z0-9]+$'),
|
||||
@@ -37,7 +36,6 @@ export const CreateUsernameError = (
|
||||
};
|
||||
|
||||
export const PasswordValidators = [
|
||||
Validators.required,
|
||||
Validators.minLength(4),
|
||||
Validators.maxLength(1024),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user