Work around hurdle that prevents Apache mod_proxy from working correctly
authorTheSaminator <TheSaminator@users.noreply.github.com>
Mon, 7 Feb 2022 15:15:14 +0000 (10:15 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Mon, 7 Feb 2022 15:15:14 +0000 (10:15 -0500)
src/jvmMain/kotlin/starshipfights/auth/providers.kt

index 3daa6a509690ea9055aa668ac50f44b46fd68ace..1085bd7a80b470e1e9fbc1fddcc4f60ef1e5838e 100644 (file)
@@ -46,7 +46,7 @@ interface AuthProvider {
                                        serializer = UserSessionIdSerializer
                                        
                                        cookie.path = "/"
-                                       cookie.secure = true
+                                       cookie.extensions["Secure"] = null
                                        cookie.extensions["SameSite"] = "Lax"
                                }
                        }