From 99aafc537ec1fa29ccccc2e9d4f484113e3966ed Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 2 May 2023 20:57:33 +0200 Subject: [PATCH] Port wrong-password login from server-side to client-side. This avoids having to reload the page on failed password attempts. Signed-off-by: DL6ER --- login.lp | 15 ++++++--------- scripts/pi-hole/js/login.js | 22 +++++++++++++++++++--- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/login.lp b/login.lp index fc50cf53..ebef4f10 100644 --- a/login.lp +++ b/login.lp @@ -8,7 +8,6 @@ --]] mg.include('scripts/pi-hole/lua/header.lp','r') -wrongpassword = false ?> @@ -25,14 +24,12 @@ wrongpassword = false
\ - ') end ?> +
-