From ab2d15bf91dfcd1f50e8f736f08ff48ab13f7a4d Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 28 May 2023 08:22:36 +0200 Subject: [PATCH] Do not show Logout button when either no password is set or this is a local browser and localAPIauth is set to false Signed-off-by: DL6ER --- scripts/pi-hole/lua/header.lp | 1 + scripts/pi-hole/lua/header_authenticated.lp | 2 + scripts/pi-hole/lua/sidebar.lp | 68 ++++++++++----------- 3 files changed, 37 insertions(+), 34 deletions(-) diff --git a/scripts/pi-hole/lua/header.lp b/scripts/pi-hole/lua/header.lp index e59d2a1d..8b5d1b23 100644 --- a/scripts/pi-hole/lua/header.lp +++ b/scripts/pi-hole/lua/header.lp @@ -10,6 +10,7 @@ Pi-hole Forum GitHub Pi-hole Releases + Log out + diff --git a/scripts/pi-hole/lua/sidebar.lp b/scripts/pi-hole/lua/sidebar.lp index 5f37f9cd..78394e75 100644 --- a/scripts/pi-hole/lua/sidebar.lp +++ b/scripts/pi-hole/lua/sidebar.lp @@ -13,7 +13,7 @@