Skip to content

Commit 9bfe395

Browse files
committed
πŸ› Fixed SecurityConfig πŸ›
1 parent 82ea2c8 commit 9bfe395

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

β€Žsrc/main/kotlin/club/anifox/backend/config/security/SecurityConfig.ktβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ constructor(
116116
AntPathRequestMatcher("/api/auth/**"),
117117
AntPathRequestMatcher("/api/auth/oauth2/code/**"),
118118
).permitAll()
119+
auth.anyRequest().authenticated()
119120
}
120121
.exceptionHandling {
121122
it.authenticationEntryPoint(unauthorizedEntryPoint())

β€Žsrc/main/kotlin/club/anifox/backend/service/keycloak/KeycloakService.ktβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class KeycloakService(
3434

3535
fun findByUserID(id: String): UserRepresentation? =
3636
try {
37-
println("ZXCXZ = $realm")
3837
keycloak
3938
.realm(realm)
4039
.users()

0 commit comments

Comments
Β (0)