From f5e3b717ff8d141986115a09ccbd1d9d6992f687 Mon Sep 17 00:00:00 2001 From: glaszig Date: Wed, 14 Aug 2019 02:41:20 +0200 Subject: [PATCH 1/2] add missing CSRFTokenFieldTag's --- includes/dashboard.php | 1 + includes/functions.php | 2 ++ includes/networking.php | 1 + includes/system.php | 1 + includes/themes.php | 1 + 5 files changed, 6 insertions(+) diff --git a/includes/dashboard.php b/includes/dashboard.php index 0ee82b05..33a87869 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -260,6 +260,7 @@ foreach ($clients as $client) {
+ '; } else { diff --git a/includes/functions.php b/includes/functions.php index 31286d73..f93e036a 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -315,6 +315,7 @@ function DisplayOpenVPNConfig()

Client settings

+
@@ -439,6 +440,7 @@ function DisplayTorProxyConfig()

Basic settings

+
diff --git a/includes/networking.php b/includes/networking.php index 9c330af7..24e9d35d 100755 --- a/includes/networking.php +++ b/includes/networking.php @@ -63,6 +63,7 @@ foreach ($interfaces as $interface) {
+ ' . CSRFTokenFieldTag() . '

' . _("Adapter IP Address Settings") . '

diff --git a/includes/system.php b/includes/system.php index 0de2fe29..0b7c23b0 100755 --- a/includes/system.php +++ b/includes/system.php @@ -187,6 +187,7 @@ function DisplaySystem()
+ " /> " /> " onclick="document.location.reload(true)" /> diff --git a/includes/themes.php b/includes/themes.php index b0d43788..431e57d0 100755 --- a/includes/themes.php +++ b/includes/themes.php @@ -43,6 +43,7 @@ function DisplayThemeConfig()
+ " onclick="document.location.reload(true)" /> From d2bb1b02b58c4abb42ca9ccae6578053d237865f Mon Sep 17 00:00:00 2001 From: glaszig Date: Wed, 14 Aug 2019 02:44:13 +0200 Subject: [PATCH 2/2] move CSRFTokenFieldTag up to the opening form tag for style and discoverability --- includes/hostapd.php | 2 +- includes/system.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index 0a425cb5..e7facc94 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -69,6 +69,7 @@ function DisplayHostAPDConfig()

showMessages(); ?>

+