parent
47a36825b4
commit
b59faa51d5
1 changed files with 3 additions and 0 deletions
|
@ -311,6 +311,9 @@ public class DefaultRequiredActions {
|
|||
* of {@link UserModel.RequiredAction}
|
||||
*/
|
||||
public static String getDefaultRequiredActionCaseInsensitively(String providerId) {
|
||||
if (providerId == null) {
|
||||
return null;
|
||||
}
|
||||
String upperCase = providerId.toUpperCase();
|
||||
if (REQUIRED_ACTIONS.contains(upperCase)) {
|
||||
return upperCase;
|
||||
|
|
Loading…
Reference in a new issue