Layouts eingeführt
[kivitendo-erp.git] / SL / Controller / LoginScreen.pm
index c15cf3e..9d0e94b 100644 (file)
@@ -38,6 +38,7 @@ sub action_login {
   $::form->{login} = $::myconfig{login};
   $::locale        = Locale->new($::myconfig{countrycode}) if $::myconfig{countrycode};
   my $user         = User->new(login => $::myconfig{login});
+  $::request->{layout} = SL::Controller::Layout->new(style => $user->{menustyle});
 
   # if we get an error back, bale out
   my $result = $user->login($::form);