From a0c01ed57dbd22b809c0a18c6bf71f332e6c2372 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Wed, 14 Feb 2018 10:57:08 +0100 Subject: [PATCH] Added safe_output for password in ldap --- pandora_console/include/auth/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/auth/mysql.php b/pandora_console/include/auth/mysql.php index e6861aa956..8a8dbaf5fd 100644 --- a/pandora_console/include/auth/mysql.php +++ b/pandora_console/include/auth/mysql.php @@ -83,7 +83,7 @@ function process_user_login ($login, $pass, $api = false) { return process_user_login_local ($login, $pass, $api); } else { - $login_remote = process_user_login_remote ($login, $pass, $api); + $login_remote = process_user_login_remote ($login, io_safe_output($pass), $api); if ($login_remote == false && $config['fallback_local_auth'] == '1') { return process_user_login_local ($login, $pass, $api); }