mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix to load theme handle first
This commit is contained in:
@ -9,9 +9,9 @@ $trust_unknown_referers = 1;
|
||||
&ReadParse();
|
||||
&load_theme_library();
|
||||
|
||||
&theme_forgot_handler($0) if (defined(&theme_forgot_handler));
|
||||
&error_setup($text{'forgot_err'});
|
||||
$gconfig{'forgot_pass'} || &error($text{'forgot_ecannot'});
|
||||
&theme_forgot_handler($0) if (defined(&theme_forgot_handler));
|
||||
my $timeout = $gconfig{'passreset_timeout'} || 15;
|
||||
$remote_user && &error($text{'forgot_elogin'});
|
||||
|
||||
|
@ -8,9 +8,9 @@ $no_acl_check++;
|
||||
&ReadParse();
|
||||
&load_theme_library();
|
||||
|
||||
&theme_forgot_handler($0) if (defined(&theme_forgot_handler));
|
||||
&error_setup($text{'forgot_err'});
|
||||
$gconfig{'forgot_pass'} || &error($text{'forgot_ecannot'});
|
||||
&theme_forgot_handler($0) if (defined(&theme_forgot_handler));
|
||||
$remote_user && &error($text{'forgot_elogin'});
|
||||
|
||||
&ui_print_header(undef, $text{'forgot_title'}, "", undef, undef, 1, 1);
|
||||
|
@ -8,9 +8,9 @@ $no_acl_check++;
|
||||
&ReadParse();
|
||||
&load_theme_library();
|
||||
|
||||
&theme_forgot_handler($0) if (defined(&theme_forgot_handler));
|
||||
&error_setup($text{'forgot_err'});
|
||||
$gconfig{'forgot_pass'} || &error($text{'forgot_ecannot'});
|
||||
&theme_forgot_handler($0) if (defined(&theme_forgot_handler));
|
||||
$remote_user && &error($text{'forgot_elogin'});
|
||||
|
||||
# Lookup the Webmin user
|
||||
|
Reference in New Issue
Block a user