From 52bad0e53c5fb67d1d638751c7e9852399a1d956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Fri, 21 May 2021 13:59:54 +0200 Subject: [PATCH] Added CSRF validation --- pandora_console/general/login_page.php | 3 + pandora_console/index.php | 135 ++++++++++++++++--------- 2 files changed, 92 insertions(+), 46 deletions(-) diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 9629bb8c75..f529e62abb 100755 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -334,6 +334,9 @@ if ($config['enterprise_installed']) { } } +// CSRF validation. +html_print_csrf_hidden(); + echo ''; echo '
'; echo '