summaryrefslogtreecommitdiff
path: root/app/Template/auth
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/auth')
-rw-r--r--app/Template/auth/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php
index efe95185..1ad1b9a4 100644
--- a/app/Template/auth/index.php
+++ b/app/Template/auth/index.php
@@ -21,7 +21,9 @@
<?= $this->form->text('captcha', $values, $errors, array('required')) ?>
<?php endif ?>
- <?= $this->form->checkbox('remember_me', t('Remember Me'), 1, true) ?><br/>
+ <?php if (REMEMBER_ME_AUTH): ?>
+ <?= $this->form->checkbox('remember_me', t('Remember Me'), 1, true) ?><br/>
+ <?php endif ?>
<div class="form-actions">
<input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/>