Skip to content

Commit

Permalink
#13033 Synchronize Keycloak users with SORMAS - use the appropriate f…
Browse files Browse the repository at this point in the history
…eature type
  • Loading branch information
Levente Gal committed Mar 27, 2024
1 parent e1d52c3 commit 1286799
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public void setFlagIcons(ComboBox cbLanguage) {
}

public void sync() {
if (true) {
if (UiUtil.permitted(FeatureType.AUTH_PROVIDER_TO_SORMAS_USER_SYNC)) {
FacadeProvider.getUserFacade().syncUsersFromAuthenticationProvider();
SormasUI.refreshView();
} else {
Expand Down

0 comments on commit 1286799

Please sign in to comment.