Formulaires de réinitialisation de mot de passe en méthode post.
authorBenoît Pin <pin@cri.ensmp.fr>
Fri, 2 Aug 2013 09:43:11 +0000 (11:43 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Fri, 2 Aug 2013 09:43:11 +0000 (11:43 +0200)
skins/generic/password_reset_template.pt
skins/generic/request_password_reset_template.pt

index dff9b06..0440dd7 100644 (file)
@@ -11,7 +11,7 @@
     <div metal:fill-slot="main_no_tabs"
          tal:define="form options/form"
          id="Desktop">
     <div metal:fill-slot="main_no_tabs"
          tal:define="form options/form"
          id="Desktop">
-      <form tal:attributes="action form/action">
+      <form method="post" tal:attributes="action form/action">
         <div tal:condition="not: options/passwordChanged" tal:omit-tag="">
           <h2 i18n:translate="">Password resetting</h2>
           <table class="TwoColumnForm">
         <div tal:condition="not: options/passwordChanged" tal:omit-tag="">
           <h2 i18n:translate="">Password resetting</h2>
           <table class="TwoColumnForm">
index 1047b66..46106ca 100644 (file)
@@ -20,7 +20,7 @@
           tal:content="ptool/email_from_address" href="mailto:me@here.com"
           i18n:name="admin_email">me@here.com</a>.
         </p>
           tal:content="ptool/email_from_address" href="mailto:me@here.com"
           i18n:name="admin_email">me@here.com</a>.
         </p>
-        <form action="mail_password" tal:attributes="action options/action">
+        <form method="post" tal:attributes="action options/action">
           <input name="userid"/>
           <input type="submit" name="requestReset" value=" Send " i18n:attributes="value"/>
         </form>
           <input name="userid"/>
           <input type="submit" name="requestReset" value=" Send " i18n:attributes="value"/>
         </form>