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 ...@@ -343,18 +343,7 @@ public class Utils
{ {
if(email!= null) if(email!= null)
{ {
SecUser secUser = SecUser.searchNAME(objTran, email.toLowerCase()); return SecUser.searchNAME(objTran, email.toLowerCase()) != null;
if(isCandidate && secUser != null)
{
Candidate candidate = secUser.getExtension(Candidate.REFERENCE_Candidate);
return candidate != null && candidate.getIsAccountVerified();
}
else
{
return secUser != null;
}
} }
return Boolean.FALSE; 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