FIX Changing password message not visible if a background is set
This commit is contained in:
parent
3dbe9a4af1
commit
bfd4ebd49d
@ -133,7 +133,7 @@ if ($action == 'buildnewpassword' && $username)
|
||||
// Success
|
||||
if ($edituser->send_password($edituser, $newpassword, 1) > 0)
|
||||
{
|
||||
$message = '<div class="ok">'.$langs->trans("PasswordChangeRequestSent", $edituser->login, dolObfuscateEmail($edituser->email)).'</div>';
|
||||
$message = '<div class="ok'.(empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent').'">'.$langs->trans("PasswordChangeRequestSent", $edituser->login, dolObfuscateEmail($edituser->email)).'</div>';
|
||||
$username = '';
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user