Commit c1e847d8 authored by Django Janny's avatar Django Janny
Browse files

UNOTOPLYS-326 - Erreur à l'authentification lorsque j'utilise un mot de passe...

UNOTOPLYS-326 - Erreur à l'authentification lorsque j'utilise un mot de passe trop court => augmentation à 8 caractères
parent 20d8f8da
......@@ -8,7 +8,7 @@ import javax.validation.constraints.Size;
*/
public class ManagedUserVM extends AdminUserDTO {
public static final int PASSWORD_MIN_LENGTH = 4;
public static final int PASSWORD_MIN_LENGTH = 8;
public static final int PASSWORD_MAX_LENGTH = 100;
......
......@@ -31,7 +31,7 @@
:placeholder="$t('login.form.password.placeholder')"
required="true"
@update="password = $event"
minlength="4"
minlength="8"
/>
</div>
<div class="m-8 text-center">
......
......@@ -32,7 +32,7 @@
:placeholder="$t('global.form[\'newpassword.placeholder\']')"
required="true"
@update="resetAccount.newPassword = $event"
minlength="4"
minlength="8"
maxlength="50"
/>
<!-- <div v-if="$v.resetAccount.newPassword.$anyDirty && $v.resetAccount.newPassword.$invalid">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment