diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 244e4fe7c..cb481f084 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -56,7 +56,8 @@ class AuthControllerCore extends FrontController public function setMedia() { parent::setMedia(); - $this->addCSS(_THEME_CSS_DIR_.'authentication.css'); + if (Context::getContext()->getMobileDevice() === false) + $this->addCSS(_THEME_CSS_DIR_.'authentication.css'); $this->addJqueryPlugin('typewatch'); $this->addJS(_THEME_JS_DIR_.'tools/statesManagement.js'); } diff --git a/themes/default/mobile/authentication-choice.tpl b/themes/default/mobile/authentication-choice.tpl index da84c96de..4bbfb00bc 100644 --- a/themes/default/mobile/authentication-choice.tpl +++ b/themes/default/mobile/authentication-choice.tpl @@ -1,6 +1,6 @@