diff --git a/core/templates/login.php b/core/templates/login.php index e87b871c67..a12008295c 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -67,7 +67,11 @@ script('core', [
+ + + +
diff --git a/lib/private/util.php b/lib/private/util.php index 6e15d742be..6ad668deda 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -969,6 +969,7 @@ class OC_Util { $parameters['alt_login'] = OC_App::getAlternativeLogIns(); $parameters['rememberLoginAllowed'] = self::rememberLoginAllowed(); + $parameters['rememberLoginState'] = isset($_POST['remember_login']) ? $_POST['remember_login'] : 0; \OC_Hook::emit('OC_Util', 'pre_displayLoginPage', array('parameters' => $parameters)); OC_Template::printGuestPage("", "login", $parameters); }