mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 03:53:07 +00:00
[CST-6152] Renamed challenge to currentPassword
This commit is contained in:
@@ -209,11 +209,11 @@ public class AuthenticationServiceImpl implements AuthenticationService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canChangePassword(Context context, EPerson ePerson, String challenge) {
|
||||
public boolean canChangePassword(Context context, EPerson ePerson, String currentPassword) {
|
||||
|
||||
for (AuthenticationMethod method : getAuthenticationMethodStack()) {
|
||||
if (method.getName().equals(context.getAuthenticationMethod())) {
|
||||
return method.canChangePassword(context, ePerson, challenge);
|
||||
return method.canChangePassword(context, ePerson, currentPassword);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user