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

Commit 7e925684 authored by theronakpatel's avatar theronakpatel
Browse files

recovery email verification at backend code

parent 3bbc418b
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -184,6 +184,10 @@ class AccountController extends Controller {
		}
		
		try {
			if (empty($recoveryEmail)) {
				throw new RecoveryEmailValidationException('Recovery Email is required.');
			}
			
			$username = mb_strtolower($username, 'UTF-8');
			$mainDomain = $this->userService->getMainDomain();
			$userEmail = $username.'@'.$mainDomain;