diff options
author | Vincent Chan <plus.vincchan@gmail.com> | 2016-02-10 15:28:14 +0100 |
---|---|---|
committer | Vincent Chan <plus.vincchan@gmail.com> | 2016-02-10 15:28:14 +0100 |
commit | 06b2f11e57ca893e963bfac8a0b051f4aa88a1ce (patch) | |
tree | 4fff3fc6a43f87447a938433119e96e14487e0fd /lib | |
parent | e7859f705c7128e3af15dbde5438c782065ac874 (diff) | |
download | nextcloud-server-06b2f11e57ca893e963bfac8a0b051f4aa88a1ce.tar.gz nextcloud-server-06b2f11e57ca893e963bfac8a0b051f4aa88a1ce.zip |
refactoring code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 6e15d742bed..6ad668dedaa 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); } |