Fixed visual bug on user creation error

This commit is contained in:
Calvo 2021-04-29 11:15:20 +02:00
parent 8407c5353f
commit 4aea645735

View File

@ -439,6 +439,12 @@ if ($create_user) {
if ($result) { if ($result) {
$res = save_pass_history($id, $password_new); $res = save_pass_history($id, $password_new);
} else {
$is_err = true;
$user_info = $values;
$password_new = '';
$password_confirm = '';
$new_user = true;
} }
db_pandora_audit( db_pandora_audit(