Commit aa4367cd authored by Johann Bournazel's avatar Johann Bournazel
Browse files

Correction du pattern du mot de passe pour autoriser les caractères spéciaux.

parent 77ebc6be
......@@ -31,7 +31,7 @@
<div class="form-group">
<label for="motDePasseInscription">Mot de passe</label>
<br/>
<input type="password" pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$"
<input type="password" pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}$"
name="motDePasseInscription" id="motDePasseInscription"
placeholder="Choisissez votre mot de passe"/>
<div class="sub-title mg-bottom-10" style="max-width:100%;" >
......
......@@ -34,7 +34,7 @@
<div class="form-group">
<label for="motDePasseInscription">Mot de passe</label>
<br/>
<input type="password" pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$"
<input type="password" pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}$"
name="motDePasseInscription" id="motDePasseInscription"
placeholder="Choisissez votre mot de passe"/>
<div class="sub-title mg-bottom-10" style="max-width:100%;" >
......
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