]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/PasswordResetForm.templ
add: HTML5-defined 'required' attributes on mandatory input fields
[gigi.git] / src / org / cacert / gigi / pages / PasswordResetForm.templ
index 1d12004d21d8072758e9f74f14358223973c43b4..b43e9152040f4d8403f232122b797c1e422b1db1 100644 (file)
@@ -7,15 +7,15 @@
   <tbody>
   <tr>
     <td><?=_Password reset token (A-Word)?>: </td>
-    <td><input type="password" name="private_token"></td>
+    <td><input type="password" name="private_token" required></td>
   </tr>
   <tr>
     <td><?=_New Pass Phrase?><span class="formMandatory">*</span>: </td>
-    <td><input type="password" name="pword1"></td>
+    <td><input type="password" name="pword1" required></td>
   </tr>
   <tr>
     <td><?=_Pass Phrase Again?><span class="formMandatory">*</span>: </td>
-    <td><input type="password" name="pword2"></td>
+    <td><input type="password" name="pword2" required></td>
   </tr>
   <tr>
     <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. Learn more in our !'<a href="http://wiki.cacert.org/wiki/FAQ" target="_new">'FAQ!'</a>'.?></td>