Instance-Conf am Anfang jedes Requests laden
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 23 Jun 2014 15:12:22 +0000 (17:12 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 23 Jun 2014 15:20:15 +0000 (17:20 +0200)
SL/Dispatcher.pm
SL/Dispatcher/AuthHandler/User.pm

index 56791ed..7ce18a4 100644 (file)
@@ -105,8 +105,6 @@ sub pre_request_initialization {
       die "cannot find locale for user " . $params{login} unless $::locale   = Locale->new($::myconfig{countrycode});
 
       $::form->{login} = $params{login}; # normaly implicit at login
-
-      $::instance_conf->init;
     }
   }
 
index 7b2a5eb..7a8fd1d 100644 (file)
@@ -29,6 +29,7 @@ sub handle {
 
   $::auth->create_or_refresh_session;
   $::auth->delete_session_value('FLASH');
+  $::instance_conf->reload->data;
 
   return 1;
 }