diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-24 20:01:34 +0400 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-30 23:47:55 +0400 |
commit | 61752fa8d132af13e7121b7ecfdba13bd179d37b (patch) | |
tree | 302198872ede103073ca9a09691135129f52d5f9 /core | |
parent | f95da8ba592ad45b802997b74693565292524259 (diff) |
introduce OC_Util::rememberLoginAllowed()
Conflicts:
core/templates/login.php
lib/util.php
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index 0bb0114f6de..3874e998bf9 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -35,7 +35,7 @@ <label for="password" class="infield"><?php p($l->t('Password')); ?></label> <img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/> </p> - <?php if ($_['encryption_enabled'] === false) : ?> + <?php if ($_['rememberLoginAllowed'] === true) : ?> <input type="checkbox" name="remember_login" value="1" id="remember_login" checked /><label for="remember_login"><?php p($l->t('remember')); ?></label> <?php endif; ?> |