]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Controller/LoginScreen.pm
Layouts eingeführt
[kivitendo-erp.git] / SL / Controller / LoginScreen.pm
index c15cf3ea8f9d4b8c3e1a0d9d8e7c848cc4aaef0a..9d0e94bc3bf56a0a450af97eab2679371ea170ce 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);