X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/a4c8924a3a105f8b4ba750a5911ed0099f9bb4bc..d32410ac096b:/SL/Controller/LoginScreen.pm diff --git a/SL/Controller/LoginScreen.pm b/SL/Controller/LoginScreen.pm index 59fabb245..adcc8f05b 100644 --- a/SL/Controller/LoginScreen.pm +++ b/SL/Controller/LoginScreen.pm @@ -165,7 +165,9 @@ sub error_state { } sub set_layout { - $::request->{layout} = SL::Layout::Dispatcher->new(style => 'login'); + $::request->{layout} = $::request->is_mobile + ? SL::Layout::Dispatcher->new(style => 'mobile_login') + : SL::Layout::Dispatcher->new(style => 'login'); } sub init_clients {