Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 256cb3e2 authored by Ronak Patel's avatar Ronak Patel
Browse files

remove session at verification

parent a8d8b5b7
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -248,7 +248,6 @@ class AccountController extends Controller {
		$captchaResult = (string) $this->session->get(CaptchaService::CAPTCHA_RESULT_KEY, '');
		$response->setStatus(400);
		if ($captchaResult === $captchaInput) {
			$this->session->remove(CaptchaService::CAPTCHA_RESULT_KEY);
			$this->session->set(self::CAPTCHA_VERIFIED_CHECK, true);
			$response->setStatus(200);
		}