diff website/issues/html/user.forgotten.html @ 5550:4d32fa88c5d2

Remove duplicate @csrf nonce from form. Duplicate nonce was causing: File "/home/roundup/lib/python2.6/site-packages/roundup/cgi/client.py", line 1154, in handle_csrf key=self.form['@csrf'].value AttributeError: 'list' object has no attribute 'value' traceback.
author John Rouillard <rouilj@ieee.org>
date Tue, 09 Oct 2018 19:48:15 -0400
parents f63a2b15e628
children 53e9694788f5
line wrap: on
line diff
--- a/website/issues/html/user.forgotten.html	Thu Sep 27 11:38:05 2018 +0000
+++ b/website/issues/html/user.forgotten.html	Tue Oct 09 19:48:15 2018 -0400
@@ -46,8 +46,6 @@
  <tr><td></td><td><input type="submit" value="Request password reset"
    i18n:attributes="value"></td></tr>
 </table>
-<input name="@csrf" type="hidden"
-       tal:attributes="value python:utils.anti_csrf_nonce()">
 </form>
 
 <p i18n:translate="">A confirmation email will be sent to you -

Roundup Issue Tracker: http://roundup-tracker.org/