Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[DS-1064] Authentication error bugfix with external login in JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/branches/dspace-1_8_x@6873 9c30dcfa-912a-0410-8fc2-9e0234be79fd
  • Loading branch information
KevinVdV committed Dec 4, 2011
1 parent ec3593b commit 67b82c0
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -163,7 +163,15 @@ public static boolean startAuthentication(Context context,
{
loggedIn(context, request, context.getCurrentUser());
log.info(LogManager.getHeader(context, "login", "type=implicit"));
return true;
if(context.getCurrentUser() != null){
//We have a new user
Authenticate.resumeInterruptedRequest(request, response);
return false;
}else{
//Couldn't log & authentication finished
return true;
}

}
else
{
Expand Down

0 comments on commit 67b82c0

Please sign in to comment.