🐛 Fixes authentication not working again

This commit is contained in:
2026-04-16 16:32:49 +02:00
parent 06a748cb90
commit 773bf768d5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2,5 +2,5 @@ kotlin.code.style=official
exposed_version=0.61.0
h2_version=2.3.232
kotlin_version=2.1.10
ktor_version=3.1.3
logback_version=1.5.13
ktor_version=3.4.2
logback_version=1.5.32
+1 -1
View File
@@ -7,7 +7,7 @@ import io.ktor.server.auth.*
fun Application.configureSecurity(dotenv: Dotenv) {
val apiKey = dotenv["API_KEY"] ?: throw Exception("API_KEY not found")
authentication {
install(Authentication) {
bearer {
realm = "/"
authenticate { credential ->