Check password when the user change/set a password.
[platal.git] / templates / googleapps / index.tpl
index f475428..c2487af 100644 (file)
               <td class="titre">Vérification</td>
               <td><input type="password" name="nouveau2" onfocus="document.forms.changepass2.password_sync[1].checked = true;" /></td>
             </tr>
+            <tr>
+              <td class="titre">Sécurité</td>
+              <td>{checkpasswd prompt="nouveau" submit="create_account"}</td>
+            </tr>
           </table>
           </form>
         </td>
           <input type="submit" value="Créer mon compte !" />
         {else}
           <input type="hidden" name="response2"  value="" />
-          <input type="submit" value="Créer mon compte !" onclick="EnCryptedResponse(); return false;" />
+          <input type="submit" name="create_account" value="Créer mon compte !" onclick="EnCryptedResponse(); return false;" />
         {/if}
       </td>
     </tr>