mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Merge pull request #2487 from webmin/dev/password-recovery-link-always-show-if-enabled
Fix to always show password recovery link if enabled
This commit is contained in:
@@ -102,7 +102,7 @@ if (!$in{'initial'}) {
|
||||
}
|
||||
print &ui_form_end();
|
||||
|
||||
if ($in{'failed'} && $gconfig{'forgot_pass'}) {
|
||||
if ($gconfig{'forgot_pass'}) {
|
||||
# Show forgotten password link
|
||||
print &ui_form_start("forgot_form.cgi", "post");
|
||||
print &ui_hidden("failed", $in{'failed'});
|
||||
|
||||
@@ -125,7 +125,7 @@ print &ui_submit($text{'session_login'});
|
||||
print &ui_reset($text{'session_clear'});
|
||||
print &ui_form_end();
|
||||
|
||||
if ($in{'failed'} && $gconfig{'forgot_pass'}) {
|
||||
if ($gconfig{'forgot_pass'}) {
|
||||
# Show forgotten password link
|
||||
print &ui_form_start("forgot_form.cgi", "post");
|
||||
print &ui_hidden("failed", $in{'failed'});
|
||||
|
||||
Reference in New Issue
Block a user