Merged in fix/password-remove-hash (pull request #2487)
Remove # from allowed characters in password field * Remove # from allowed characters in password field * Fixed tests * Fixed tests
This commit is contained in:
@@ -24,7 +24,7 @@ export const passwordValidators = {
|
||||
},
|
||||
allowedCharacters: {
|
||||
matcher: (password: string) =>
|
||||
/^[A-Za-zåäöæøüßÅÄÖÆØÜ0-9&!?()@#$%^+=_\*\-]+$/.test(password),
|
||||
/^[A-Za-zåäöæøüßÅÄÖÆØÜ0-9&!?()@$%^+=_\*\-]+$/.test(password),
|
||||
message: "Only allowed characters",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user