Sfoglia il codice sorgente

:pencil2: Fixed password validator char amount

tags/0.0.3^2
tomit4 3 anni fa
parent
commit
c556714ec6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      frontend/src/entities/survey/survey.answer.validator.js

+ 1
- 1
frontend/src/entities/survey/survey.answer.validator.js Vedi File

@@ -14,7 +14,7 @@ const answerValidator = {
14 14
         .max(30)
15 15
         .pattern(
16 16
             new RegExp(
17
-                '^(?=.*[!@#$%^&*()_+\\-=[\\]{};\':"\\\\|,.<>\\/?])(?=.*[!@#$%^&*()_+\\-=[\\]{};\':"\\\\|,.<>\\/?])[a-zA-Z0-9!@#$%^&*()_+\\-=[\\]{};\':"\\\\|,.<>\\/?]{10,}$',
17
+                '^(?=.*[!@#$%^&*()_+\\-=[\\]{};\':"\\\\|,.<>\\/?])(?=.*[!@#$%^&*()_+\\-=[\\]{};\':"\\\\|,.<>\\/?])[a-zA-Z0-9!@#$%^&*()_+\\-=[\\]{};\':"\\\\|,.<>\\/?]{14,}$',
18 18
             ),
19 19
         ),
20 20
     // TODO: Change if going international (only works in usa)

Loading…
Annulla
Salva