# 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;
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'},