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

Unverified Commit 07413ce7 authored by Akhil's avatar Akhil
Browse files

use constant for username check key

parent 5a0977df
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ class AccountController extends Controller {
		try {
			if (!$this->userService->userExists($username) && !$this->userService->isUsernameTaken($username)) {
				$response->setStatus(200);
				$this->session->set('username_check_passed', true);
				$this->session->set(self::SESSION_USERNAME_CHECK, true);
			}
		} catch (Exception $e) {
			$this->logger->logException($e, ['app' => Application::APP_ID ]);