diff options
author | Derf Null <derf@finalrewind.org> | 2023-06-04 19:25:24 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-06-04 19:25:24 +0200 |
commit | c1635e24fb78d981a790463cfe35ba552bcaac04 (patch) | |
tree | 64a3aeff358c6b56663ee01be27713f036d89918 /templates/_invalid_input.html.ep | |
parent | 8cef56a94033c9b4784026e8e809c03beb59db8b (diff) |
use a separate bad_request page for CSRF errors
Diffstat (limited to 'templates/_invalid_input.html.ep')
-rw-r--r-- | templates/_invalid_input.html.ep | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/templates/_invalid_input.html.ep b/templates/_invalid_input.html.ep index 6b0fb65..f8c4e2f 100644 --- a/templates/_invalid_input.html.ep +++ b/templates/_invalid_input.html.ep @@ -2,14 +2,7 @@ <div class="col s12"> <div class="card caution-color"> <div class="card-content white-text"> - % if ($invalid eq 'csrf') { - <span class="card-title">Ungültiger CSRF-Token</span> - <p>Sind Cookies aktiviert? Ansonsten könnte es sich um einen - Fall von <a - href="https://de.wikipedia.org/wiki/Cross-Site-Request-Forgery">CSRF</a> - handeln.</p> - % } - % elsif ($invalid eq 'credentials') { + % if ($invalid eq 'credentials') { <span class="card-title">Ungültige Logindaten</span> <p>Falscher Account oder falsches Passwort.</p> % } |