Add config parameter to disable/enable RememberMe authentication

This commit is contained in:
Frederic Guillot
2015-08-01 12:46:55 -04:00
parent fb44818707
commit b377b57516
6 changed files with 20 additions and 3 deletions

View File

@@ -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"/>