From 26e3996014936268f4acbfa214fa881af9320ddd Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 9 Jan 2016 17:28:31 -0500 Subject: Add forgot password feature --- app/Template/auth/index.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'app/Template/auth') diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index 2f75b113..a1059d6f 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -19,17 +19,22 @@ form->label(t('Enter the text below'), 'captcha') ?> - - form->text('captcha', $values, $errors, array('required')) ?> + + form->text('captcha', array(), $errors, array('required')) ?> - form->checkbox('remember_me', t('Remember Me'), 1, true) ?>
+ form->checkbox('remember_me', t('Remember Me'), 1, true) ?>
+ app->config('password_reset') == 1): ?> +
+ url->link(t('Forgot password?'), 'PasswordReset', 'create') ?> +
+ -- cgit v1.2.3