mirror of
https://github.com/keycloak/keycloak.git
synced 2026-04-24 16:08:48 -05:00
committed by
Pedro Igor
parent
47a36825b4
commit
b59faa51d5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user