1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-04-04 22:34:22 +02:00

Fix SessionOptions struct spacing

This commit is contained in:
Nick Meves 2020-05-25 08:16:11 -07:00
parent c6939a40c5
commit e43c65cc76
No known key found for this signature in database
GPG Key ID: 93BA8A3CEDCDD1CF

View File

@ -4,9 +4,9 @@ import "github.com/oauth2-proxy/oauth2-proxy/pkg/encryption"
// SessionOptions contains configuration options for the SessionStore providers. // SessionOptions contains configuration options for the SessionStore providers.
type SessionOptions struct { type SessionOptions struct {
Type string `flag:"session-store-type" cfg:"session_store_type"` Type string `flag:"session-store-type" cfg:"session_store_type"`
Cipher encryption.Cipher `cfg:",internal"` Cipher encryption.Cipher `cfg:",internal"`
Redis RedisStoreOptions `cfg:",squash"` Redis RedisStoreOptions `cfg:",squash"`
} }
// CookieSessionStoreType is used to indicate the CookieSessionStore should be // CookieSessionStoreType is used to indicate the CookieSessionStore should be