Commit 8f144ea9 by Harsh Shah

NPE fix where candidate is already verified

parent 8612a7af
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
if(isVerify && (job==null || secUser==null)) if(isVerify && (job==null || secUser==null))
{ {
response.sendRedirect(WebUtils.getSamePageInRenderMode(request, "AuthError")); response.sendRedirect(WebUtils.getSamePageInRenderMode(request, "AuthError"));
return; //Else it will continue execution and throws NPE.
} }
if(secUser==null) if(secUser==null)
......
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