2 Commits

Author SHA1 Message Date
6851467d46 Merge branch 'main' of https://code.spamasaurus.com/djpbessems/ContainerImage.SpamasaurusRex
All checks were successful
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 33s
Container & Helm chart / Helm chart (push) Successful in 17s
Container & Helm chart / Container image (push) Successful in 1m46s
Container & Helm chart / Semantic Release (push) Successful in 34s
2024-03-11 15:20:09 +11:00
aceb53efe9 fix: Refactor to use filesystem storage instead of cookies 2024-03-11 15:20:08 +11:00

View File

@ -28,7 +28,7 @@ var config = oauth2.Config{
Scopes: []string{"email", "openid", "profile", "user.read"},
}
var sessionStore = sessions.NewCookieStore([]byte("xDDBjhYwyndZty3exGNq2ahE8wHRCR4DfdCJCSoWXAYncfWw2UQDH63QcJ9CkrGx"))
var sessionStore = sessions.NewFilesystemStore("", []byte("xDDBjhYwyndZty3exGNq2ahE8wHRCR4DfdCJCSoWXAYncfWw2UQDH63QcJ9CkrGx"))
func init() {
// Register the oauth2.Token type with gob