Skip to content
Snippets Groups Projects
Commit 22502723 authored by Antonin COQUET's avatar Antonin COQUET
Browse files

fix: change regex for email (special character)

parent e923b3d2
No related branches found
No related tags found
3 merge requests!178release V1.10.0,!154Dev,!141fix: change regex for email (special character)
......@@ -2,7 +2,7 @@ export class CustomRegExp {
/**
* Validate a password (at least 8 characters, 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character)
*/
public static readonly PASSWORD: RegExp = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/; //NOSONAR
public static readonly PASSWORD: RegExp = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[*.! @#$%^&(){}\[\]:;<>,?\/\\~_+\-=|])(?=.{8,})/; //NOSONAR
/**
* Validate an email
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment