From db88a00d48d1dce48b8700e460c06ff7fb344f0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 1 Aug 2015 12:14:22 -0400 Subject: Add bruteforce protection --- app/Template/auth/index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'app/Template/auth') diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index ca303df9..efe95185 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -10,11 +10,17 @@ form->csrf() ?> form->label(t('Username'), 'username') ?> - form->text('username', $values, $errors, array('autofocus', 'required')) ?>
+ form->text('username', $values, $errors, array('autofocus', 'required')) ?> form->label(t('Password'), 'password') ?> form->password('password', $values, $errors, array('required')) ?> + + form->label(t('Enter the text below'), 'captcha') ?> + + form->text('captcha', $values, $errors, array('required')) ?> + + form->checkbox('remember_me', t('Remember Me'), 1, true) ?>
-- cgit v1.2.3