Mercurial > p > roundup > code
changeset 5551:0452fc26ab0f
removing duplicate @csrf nonce.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 09 Oct 2018 19:56:17 -0400 |
| parents | 4d32fa88c5d2 |
| children | db10c0a1f338 |
| files | share/roundup/templates/jinja2/html/user.forgotten.html |
| diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/share/roundup/templates/jinja2/html/user.forgotten.html Tue Oct 09 19:48:15 2018 -0400 +++ b/share/roundup/templates/jinja2/html/user.forgotten.html Tue Oct 09 19:56:17 2018 -0400 @@ -20,8 +20,6 @@ <input type='text' name="address"> <input name="@csrf" type="hidden" value="{{ utils.anti_csrf_nonce() }}"> - <input name="@csrf" type="hidden" - value="{{ utils.anti_csrf_nonce() }}"> <input type="hidden" name="@action" value="passrst"> <input type="hidden" name="@template" value="forgotten"> <input type="submit" value="{{ i18n.gettext('Password reset')|u }}" class='btn btn-primary'>
