Skip to content

Commit 624bfdf

Browse files
committed
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.
1 parent f5af295 commit 624bfdf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

website/issues/html/user.forgotten.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
<tr><td></td><td><input type="submit" value="Request password reset"
4747
i18n:attributes="value"></td></tr>
4848
</table>
49-
<input name="@csrf" type="hidden"
50-
tal:attributes="value python:utils.anti_csrf_nonce()">
5149
</form>
5250

5351
<p i18n:translate="">A confirmation email will be sent to you -

0 commit comments

Comments
 (0)