Skip to content

Commit

Permalink
Add timout to the oauth persistance
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Nov 2, 2024
1 parent 958b628 commit 06fb2d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ class InMemoryOAuthPersistence(private val clock: Clock) : OAuthPersistence {
private fun expiring(name: String, value: String) = Cookie(
name, value,
path = "/",
expires = clock.instant()
expires = clock.instant().plusSeconds(900)
)
}

0 comments on commit 06fb2d8

Please sign in to comment.