X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13..8ae2bc4fb4c72f3ac907a3e47c0cbd5da23f62c5:/SL/Dispatcher.pm?ds=sidebyside diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 35a351877..d01a0d03b 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -231,6 +231,7 @@ sub handle_request { } else { if (SL::Auth::SESSION_EXPIRED == $session_result) { print $::request->{cgi}->redirect('controller.pl?action=LoginScreen/user_login&error=session'); + ::end_of_request(); } my %auth_result = $self->{auth_handler}->handle( @@ -240,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) {