X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FLoginScreen.pm;h=adcc8f05b9fede9b16b557191eb48af4e7963531;hb=46c6d4ad42ee0f62828e60a8a6875172d84f2cc4;hp=59fabb245759f64174c433e05086f06da3353a16;hpb=a4c8924a3a105f8b4ba750a5911ed0099f9bb4bc;p=kivitendo-erp.git 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 {