Commit 94981531 by Nilu

BUG: If applicant email is already used for a Hiring Team then user is logged-in to that account.

parent b818628e
......@@ -343,18 +343,7 @@ public class Utils
{
if(email!= null)
{
SecUser secUser = SecUser.searchNAME(objTran, email.toLowerCase());
if(isCandidate && secUser != null)
{
Candidate candidate = secUser.getExtension(Candidate.REFERENCE_Candidate);
return candidate != null && candidate.getIsAccountVerified();
}
else
{
return secUser != null;
}
return SecUser.searchNAME(objTran, email.toLowerCase()) != null;
}
return Boolean.FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment