Fix Webmin user temp password change
This commit is contained in:
parent
9ee964f1e7
commit
1f0e6c5902
@ -1567,8 +1567,7 @@ if (%users) {
|
||||
|
||||
# Check for a visit to the special password change page
|
||||
if ($config{'session'} && !$deny_authentication &&
|
||||
$page eq $config{'password_change'} && !$validated &&
|
||||
$config{'passwd_mode'} == 2) {
|
||||
$page eq $config{'password_change'} && !$validated) {
|
||||
# Just let this slide ..
|
||||
$validated = 1;
|
||||
$miniserv_internal = 3;
|
||||
|
@ -23,7 +23,7 @@ print &ui_form_start("$gconfig{'webprefix'}/password_change.cgi", "post");
|
||||
print &ui_hidden("user", $in{'user'});
|
||||
print &ui_hidden("pam", $in{'pam'});
|
||||
print &ui_hidden("expired", $in{'expired'});
|
||||
print &ui_table_start($text{'password_header'}, "width=50% style='width:50%'", 2);
|
||||
print &ui_table_start($text{'password_header'}, undef, 2);
|
||||
|
||||
# Current username
|
||||
print &ui_table_row($text{'password_user'},
|
||||
|
Loading…
x
Reference in New Issue
Block a user