mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Remove redundant metadata name check.
This commit is contained in:
@@ -633,11 +633,6 @@ public class SamlAuthentication implements AuthenticationMethod {
|
||||
return false;
|
||||
}
|
||||
|
||||
// The phone is a predefined field
|
||||
if ("phone".equals(metadataName)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!metadataName.matches(FIELD_NAME_REGEX)) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user