Skip to content

Commit 008998b

Browse files
fix(authentication-method): Sets the authentication method just after the login has been concluded successfully
ref: DURACOM-401
1 parent 86caaac commit 008998b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dspace-api/src/main/java/org/dspace/authenticate/AuthenticationServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ protected int authenticateInternal(Context context,
110110
}
111111
if (ret == AuthenticationMethod.SUCCESS) {
112112
updateLastActiveDate(context);
113+
context.setAuthenticationMethod(aMethodStack.getName());
113114
return ret;
114115
}
115116
if (ret < bestRet) {

0 commit comments

Comments
 (0)