X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDispatcher.pm;h=b485063421f6a68de0820b5d1be5f02b9c06ab6f;hb=606e7e2575ff6112e8e45acf0e74e87faa5cfa7c;hp=880f6f471a4fd69345a8708ed75542973f17df7a;hpb=57cf17b9ed978aad1931b6f9e2c4c86b635d9d27;p=kivitendo-erp.git diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 880f6f471..b48506342 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -84,7 +84,6 @@ sub pre_startup_setup { { no warnings 'once'; $::lxdebug = LXDebug->new; - $::auth = SL::Auth->new; $::form = undef; %::myconfig = (); %::called_subs = (); # currently used for recursion detection @@ -157,6 +156,7 @@ sub handle_request { $self->unrequire_bin_mozilla; + $::auth = SL::Auth->new; $::cgi = CGI->new(''); $::locale = Locale->new($::lx_office_conf{system}->{language}); $::form = Form->new; @@ -233,7 +233,7 @@ sub handle_request { $::form = undef; $::myconfig = (); Form::disconnect_standard_dbh; - $::auth->save_session; + $::auth->expire_session_keys->save_session; $::auth->dbdisconnect; $::lxdebug->end_request;