summaryrefslogtreecommitdiff
path: root/app/Controller/Captcha.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 11:31:54 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 11:31:54 -0400
commitab48a09f0d674b703467975b376c5ac7352670ae (patch)
tree99fbb0cf719acee8c500622d498bd7f6375b62a1 /app/Controller/Captcha.php
parent82b5b491bec94cb3d40a5820fbef9959435309be (diff)
Rename controllers
Diffstat (limited to 'app/Controller/Captcha.php')
-rw-r--r--app/Controller/Captcha.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/Controller/Captcha.php b/app/Controller/Captcha.php
deleted file mode 100644
index f6c717b3..00000000
--- a/app/Controller/Captcha.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-namespace Kanboard\Controller;
-
-use Gregwar\Captcha\CaptchaBuilder;
-
-/**
- * Captcha Controller
- *
- * @package controller
- * @author Frederic Guillot
- */
-class Captcha extends BaseController
-{
- /**
- * Display captcha image
- *
- * @access public
- */
- public function image()
- {
- $this->response->withContentType('image/jpeg')->send();
-
- $builder = new CaptchaBuilder;
- $builder->build();
- $this->sessionStorage->captcha = $builder->getPhrase();
- $builder->output();
- }
-}