Add forgot password feature
This commit is contained in:
@@ -19,17 +19,22 @@
|
||||
|
||||
<?php if (isset($captcha) && $captcha): ?>
|
||||
<?= $this->form->label(t('Enter the text below'), 'captcha') ?>
|
||||
<img src="<?= $this->url->href('auth', 'captcha') ?>"/>
|
||||
<?= $this->form->text('captcha', $values, $errors, array('required')) ?>
|
||||
<img src="<?= $this->url->href('Captcha', 'image') ?>"/>
|
||||
<?= $this->form->text('captcha', array(), $errors, array('required')) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if (REMEMBER_ME_AUTH): ?>
|
||||
<?= $this->form->checkbox('remember_me', t('Remember Me'), 1, true) ?><br/>
|
||||
<?= $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"/>
|
||||
</div>
|
||||
<?php if ($this->app->config('password_reset') == 1): ?>
|
||||
<div class="reset-password">
|
||||
<?= $this->url->link(t('Forgot password?'), 'PasswordReset', 'create') ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</form>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user