Fix to set email correctly when resetting password

This commit is contained in:
Ilia Ross
2025-04-26 21:37:42 +03:00
parent 4fbc57350f
commit cb3bde5374

View File

@@ -120,7 +120,7 @@ if (defined($in{'newpass'})) {
&webmin_log("forgot", "reset", undef,
{ 'user' => $wuser->{'name'},
'email' => $link{'email'} }, "acl");
'email' => $wuser->{'email'} }, "acl");
&unlink_file("$main::forgot_password_link_dir/$in{'id'}");
}