feat: style oauth auto redirect screen

This commit is contained in:
Stavros
2025-09-12 17:30:30 +03:00
parent e001f63eb5
commit 060e20e578
6 changed files with 49 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ type Config struct {
UsersFile string `mapstructure:"users-file"`
SecureCookie bool `mapstructure:"secure-cookie"`
OAuthWhitelist string `mapstructure:"oauth-whitelist"`
OAuthAutoRedirect string `mapstructure:"oauth-auto-redirect" validate:"oneof=none github google generic"`
OAuthAutoRedirect string `mapstructure:"oauth-auto-redirect"`
SessionExpiry int `mapstructure:"session-expiry"`
LogLevel string `mapstructure:"log-level" validate:"oneof=trace debug info warn error fatal panic"`
Title string `mapstructure:"app-title"`