X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c3bbf6d39e066523cdc2bb96e057d6adbfcdf4c7..3d1ae2d96b65e88a5b12dde2b2524dc10f7932fa:/SL/Dispatcher.pm diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 9adde75ba..44631a046 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -82,7 +82,7 @@ sub show_error { $::form->{error} = $::locale->text('The session is invalid or has expired.') if ($error_type eq 'session'); $::form->{error} = $::locale->text('Incorrect password!') if ($error_type eq 'password'); - $::form->header(no_menu => 1); + $::form->header; print $::form->parse_html_template($template, \%params); $::lxdebug->leave_sub; @@ -241,6 +241,8 @@ sub handle_request { action => $action, ); + ::end_of_request() unless $auth_result{auth_ok}; + delete @{ $::form }{ grep { m/^\{AUTH\}/ } keys %{ $::form } } unless $auth_result{keep_auth_vars}; if ($action) {