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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Captcha.php b/app/Controller/Captcha.php
index fcf081ea..fb9d6fe3 100644
--- a/app/Controller/Captcha.php
+++ b/app/Controller/Captcha.php
@@ -10,7 +10,7 @@ use Gregwar\Captcha\CaptchaBuilder;
* @package controller
* @author Frederic Guillot
*/
-class Captcha extends Base
+class Captcha extends BaseController
{
/**
* Display captcha image
@@ -19,7 +19,7 @@ class Captcha extends Base
*/
public function image()
{
- $this->response->contentType('image/jpeg');
+ $this->response->withContentType('image/jpeg');
$builder = new CaptchaBuilder;
$builder->build();