summaryrefslogtreecommitdiff
path: root/app/Controller/Captcha.php
diff options
context:
space:
mode:
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();
- }
-}