diff --git a/build.gradle.kts b/build.gradle.kts index cef2a10..c18e3f7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,7 +33,6 @@ dependencies { //implementation("org.postgresql:postgresql:42.7.2") implementation("com.microsoft.sqlserver:mssql-jdbc:11.2.0.jre18") implementation("com.oracle.database.jdbc:ojdbc8:19.8.0.0") - implementation("io.ktor:ktor-server-call-logging:$ktor_version") implementation("io.ktor:ktor-server-cors:$ktor_version") implementation("org.jetbrains.exposed:exposed-jdbc:0.55.0") implementation("org.jetbrains.exposed:exposed-dao:$exposed_version") diff --git a/src/main/kotlin/eu/maiora/Application.kt b/src/main/kotlin/eu/maiora/Application.kt index 4e693fc..0b452d8 100644 --- a/src/main/kotlin/eu/maiora/Application.kt +++ b/src/main/kotlin/eu/maiora/Application.kt @@ -7,7 +7,6 @@ import io.ktor.server.application.* import io.ktor.server.config.* import io.ktor.server.engine.* import io.ktor.server.netty.* -import io.ktor.server.plugins.callloging.* import io.ktor.server.plugins.cors.routing.* import java.io.FileInputStream import java.util.* @@ -31,7 +30,6 @@ fun Application.module(configFile: Properties) { configureRouting() configureSerialization() - install(CallLogging) install(CORS){ anyHost() allowSameOrigin = true diff --git a/src/main/kotlin/eu/maiora/routes/Auth.kt b/src/main/kotlin/eu/maiora/routes/Auth.kt index 0443947..8460799 100644 --- a/src/main/kotlin/eu/maiora/routes/Auth.kt +++ b/src/main/kotlin/eu/maiora/routes/Auth.kt @@ -31,7 +31,7 @@ fun Route.auth(accountsRepository: AccountsRepositoryImpl) { logger.info( "param: " + receivedResponse.param - ); + ) // Decodifica la stringa da Base64 a oggetto Credentials val decodedBytes = Base64.getDecoder().decode(receivedResponse.param)