fix: traiter le premier lot de tickets
Refs #4 #5 #6 #9 #12 #16 #18 #20
This commit is contained in:
parent
3f82acbbd8
commit
04cbe54dd1
14 changed files with 87 additions and 12 deletions
|
|
@ -186,6 +186,7 @@
|
|||
|
||||
function frenchMessage(field) {
|
||||
if (field.validity.valueMissing) return <?= json_encode(t('auth.required'), JSON_UNESCAPED_UNICODE) ?> ;
|
||||
if (field.validity.typeMismatch) return <?= json_encode(t('settings.invalid_email'), JSON_UNESCAPED_UNICODE) ?> ;
|
||||
if (field.validity.tooShort) return <?= json_encode(t('auth.password_min', ['count' => '__COUNT__']),
|
||||
JSON_UNESCAPED_UNICODE) ?> .replace('__COUNT__', field.minLength);
|
||||
if (field.validity.patternMismatch) return <?= json_encode(t('auth.invalid_format'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue