Skip to content

Commit

Permalink
Update Spring Boot to 2.5.2 and Kotlin to 1.5.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Jul 16, 2021
1 parent b51d5ea commit ba33e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val dockerTag: String? by project

plugins {
val kotlinVersion = "1.5.10"
val kotlinVersion = "1.5.21"

kotlin("jvm") version kotlinVersion
kotlin("kapt") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
id("org.springframework.boot") version "2.5.1"
id("org.springframework.boot") version "2.5.2"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
id("com.google.cloud.tools.jib") version "2.8.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class OAuthController(
): Mono<Void> =
serverWebExchange.formData.flatMap { form ->
val challenge = checkNotNull(form["consent_challenge"]?.first())
val permitted = form["action"]?.first()?.toLowerCase() == "permit"
val permitted = form["action"]?.first()?.lowercase() == "permit"

userService.decideConsent(challenge, permitted)
}.flatMap { redirectUrl ->
Expand Down

0 comments on commit ba33e60

Please sign in to comment.