X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDispatcher.pm;h=df8cc8344a684bcba50ccbceae621b0cb274c36e;hb=099be99dc7211d8ce6a2df4d18ab80d3746d5070;hp=e728976936a8d34936c37c32bbdcc2013ebdb737;hpb=dd0ba7b9a6f931ce13ced906d9cc6cb3e7c3ea3a;p=kivitendo-erp.git diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index e72897693..df8cc8344 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -188,7 +188,7 @@ sub handle_request { $::form->error($::locale->text('System currently down for maintenance!')) if -e ($::lx_office_conf{paths}->{userspath} . "/nologin") && $script ne 'admin'; - if ($script eq 'login' or $script eq 'admin' or $script eq 'kopf') { + if ($script eq 'login' or $script eq 'admin') { $::form->{titlebar} = "Lx-Office " . $::locale->text('Version') . " $::form->{version}"; ::run($session_result); @@ -231,13 +231,14 @@ sub handle_request { }; # cleanup + $::auth->expire_session_keys->save_session; + $::auth->expire_sessions; + $::auth->reset; + $::locale = undef; $::form = undef; $::myconfig = (); Form::disconnect_standard_dbh; - $::auth->expire_session_keys->save_session; - $::auth->expire_sessions; - $::auth->reset; $::lxdebug->end_request; $::lxdebug->leave_sub;