From 6ba23a85b8df2ad23cbb77a35fac911ae128aabe Mon Sep 17 00:00:00 2001 From: Marvin Gaube Date: Sun, 1 Mar 2020 20:15:14 +0100 Subject: [PATCH 1/2] Only run authdb check when user is logged in --- index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.php b/index.php index a29342c..9e50b3e 100644 --- a/index.php +++ b/index.php @@ -36,6 +36,9 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha NSEdit! + + From 82db64595ceaaea94e9e3b3698a0e244a6709c4d Mon Sep 17 00:00:00 2001 From: Marvin Gaube Date: Sun, 1 Mar 2020 20:18:15 +0100 Subject: [PATCH 2/2] authdb check: Use relative, not absolute path --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 9e50b3e..136317e 100644 --- a/index.php +++ b/index.php @@ -41,7 +41,7 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha ?>