From 4aea645735fb45c3eec63a6fe6409a695be14e8d Mon Sep 17 00:00:00 2001 From: Calvo Date: Thu, 29 Apr 2021 11:15:20 +0200 Subject: [PATCH] Fixed visual bug on user creation error --- pandora_console/godmode/users/configure_user.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php index 6948368eb1..31ca0897d0 100644 --- a/pandora_console/godmode/users/configure_user.php +++ b/pandora_console/godmode/users/configure_user.php @@ -439,6 +439,12 @@ if ($create_user) { if ($result) { $res = save_pass_history($id, $password_new); + } else { + $is_err = true; + $user_info = $values; + $password_new = ''; + $password_confirm = ''; + $new_user = true; } db_pandora_audit(