summaryrefslogtreecommitdiff
path: root/app/Controller/Auth.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-09 17:28:31 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-09 17:28:31 -0500
commit26e3996014936268f4acbfa214fa881af9320ddd (patch)
tree5f7fa2c1b73e4443ce75e8919383bdf775492304 /app/Controller/Auth.php
parent03032c3190a27408d60e27f486a4ca472448e9dc (diff)
Add forgot password feature
Diffstat (limited to 'app/Controller/Auth.php')
-rw-r--r--app/Controller/Auth.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/Controller/Auth.php b/app/Controller/Auth.php
index cd1dd167..07e66070 100644
--- a/app/Controller/Auth.php
+++ b/app/Controller/Auth.php
@@ -2,8 +2,6 @@
namespace Kanboard\Controller;
-use Gregwar\Captcha\CaptchaBuilder;
-
/**
* Authentication controller
*
@@ -62,21 +60,6 @@ class Auth extends Base
}
/**
- * Display captcha image
- *
- * @access public
- */
- public function captcha()
- {
- $this->response->contentType('image/jpeg');
-
- $builder = new CaptchaBuilder;
- $builder->build();
- $this->sessionStorage->captcha = $builder->getPhrase();
- $builder->output();
- }
-
- /**
* Redirect the user after the authentication
*
* @access private