From 60d2733066b04a2fc0ca5e65ef2b7f38bfb4bd9f Mon Sep 17 00:00:00 2001 From: Daniel Cebrian <daniel.cebrian@pandorafms.com> Date: Tue, 30 Jan 2024 18:22:20 +0100 Subject: [PATCH] #12794 fixed login when user use external login --- pandora_console/godmode/users/configure_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php index 2344116cb1..668216d330 100644 --- a/pandora_console/godmode/users/configure_user.php +++ b/pandora_console/godmode/users/configure_user.php @@ -770,7 +770,7 @@ if ($update_user) { $id_user = (string) get_parameter('id_user', ''); if ($password_new != '') { - if ($config['auth'] !== 'mysql') { + if ($config['auth'] !== 'mysql' && $values['local_user'] === false) { ui_print_error_message(__('It is not possible to change the password because external authentication is being used')); } else { $correct_password = false;