X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FLoginScreen.pm;h=89f21ccfadd169c0c12ed022f0057bc581f99848;hb=3b4068e20d8f7b044b9f85eccacac99ba3d453b3;hp=e73224bcc7f334595f9a940774e046392e1122ec;hpb=38902b24ceed494a2936edfe4d72e8c48e15bce0;p=kivitendo-erp.git diff --git a/SL/Controller/LoginScreen.pm b/SL/Controller/LoginScreen.pm index e73224bcc..89f21ccfa 100644 --- a/SL/Controller/LoginScreen.pm +++ b/SL/Controller/LoginScreen.pm @@ -39,7 +39,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}); + $::request->{layout} = SL::Layout::Dispatcher->new(style => $user->{menustyle}); # if we get an error back, bale out my $result = $user->login($::form); @@ -118,7 +118,7 @@ sub error_state { } sub set_layout { - $::request->{layout} = SL::Controller::Layout->new(style => 'login'); + $::request->{layout} = SL::Layout::Dispatcher->new(style => 'login'); } 1;