Fix to load theme handle first

This commit is contained in:
Ilia Ross
2025-05-21 22:02:02 +03:00
parent 4e2307376d
commit 856c350a0b
3 changed files with 3 additions and 3 deletions

View File

@ -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);