diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-23 14:02:46 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-25 01:56:14 +0100 |
commit | 78fa5a8435b150859e7fe106a7068e76575212f6 (patch) | |
tree | c2fb798e729e1d132cebd078566739c4293c9193 /accounts | |
parent | b841c0b8e39e98f9cda8b86404eb3c5b79d175f0 (diff) | |
download | web-78fa5a8435b150859e7fe106a7068e76575212f6.tar.gz web-78fa5a8435b150859e7fe106a7068e76575212f6.tar.bz2 web-78fa5a8435b150859e7fe106a7068e76575212f6.zip |
All forms should contain a non-empty action
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/templates/admin/create_account.html | 2 | ||||
-rw-r--r-- | accounts/templates/admin/disable_account.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accounts/templates/admin/create_account.html b/accounts/templates/admin/create_account.html index 208410c..6dae77c 100644 --- a/accounts/templates/admin/create_account.html +++ b/accounts/templates/admin/create_account.html @@ -12,7 +12,7 @@ Der Benutzer bekommt eine Mail, mit der er sich dann ganz normal ein Passwort setzen kann. </p> -<form action="" method="post" class="form-horizontal"> +<form action="{{ url_for('.create_account') }}" method="post" class="form-horizontal"> {% for field in form %} {{ render_field(field) }} {% endfor %} diff --git a/accounts/templates/admin/disable_account.html b/accounts/templates/admin/disable_account.html index 9842d6c..47bc1d4 100644 --- a/accounts/templates/admin/disable_account.html +++ b/accounts/templates/admin/disable_account.html @@ -12,7 +12,7 @@ Der Benutzer wird davon nicht benachrichtigt, mach das also nur mit Accounts, die sicher Spammer sind! </p> -<form action="" method="post" class="form-horizontal"> +<form action="{{ url_for('.disable_account') }}" method="post" class="form-horizontal"> {% for field in form %} {{ render_field(field) }} {% endfor %} |