From 305b080259ab635855503db829b0ed2b5f368e34 Mon Sep 17 00:00:00 2001 From: QIN LEI Date: Fri, 6 Oct 2023 15:20:20 +0800 Subject: [PATCH] to avoid CSRF error due to multiple click If the network is terrible, the user clicks rapidly and many times, it will show a CSRF error because the last time click had the wrong CSRF token. --- modoboa/templates/registration/login.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modoboa/templates/registration/login.html b/modoboa/templates/registration/login.html index 21510855f..931f296bc 100644 --- a/modoboa/templates/registration/login.html +++ b/modoboa/templates/registration/login.html @@ -40,6 +40,9 @@ {% block extra_js %}