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

Commit 22d607e1 authored by Ronak Patel's avatar Ronak Patel
Browse files

unverfied recovery email condition added

parent 603c4c8f
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -306,6 +306,10 @@ class UserService {
		if(count($users)) {
			return true;
		}
		$users = $this->config->getUsersForUserValue('email-recovery', 'unverified-recovery-email', $recoveryEmail);
		if(count($users)) {
			return true;
		}
		return false;
	}