Skip to content

Commit

Permalink
[Fix partially kbss-cvut/record-manager-ui#175] Disable SystemInitial…
Browse files Browse the repository at this point in the history
…izer in oidc configuration
  • Loading branch information
kostobog committed Jul 10, 2024
1 parent 01d40a0 commit 3d485c0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
import jakarta.annotation.PostConstruct;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;

@ConditionalOnProperty(prefix = "security", name = "provider", havingValue = "internal", matchIfMissing = true)
@Service
public class SystemInitializer {

Expand Down

0 comments on commit 3d485c0

Please sign in to comment.