File tree Expand file tree Collapse file tree 5 files changed +4248
-4227
lines changed
Expand file tree Collapse file tree 5 files changed +4248
-4227
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ security:
8585 password_salt : # change this
8686 insecure_cookies : true # should be set to 'false', except when not running with HTTPS (e.g. on localhost)
8787 cookie_max_age : 172800
88- allow_signup : true
89- oidc_allow_signup : true
88+ allow_signup : true # whether to allow new user creation at all
89+ oidc_allow_signup : true # allow registration of new users from oidc
90+ disable_local_auth : false # disable login via local credentials (username and password) to enforce OIDC provider login
9091 signup_captcha : false
9192 invite_codes : true # whether to enable invite codes for overriding disabled signups
9293 disable_frontpage : false
Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ type appConfig struct {
116116}
117117
118118type securityConfig struct {
119- DisableLocalAuth bool `yaml:"disable_local_auth" default:"false" env:"WAKAPI_DISABLE_LOCAL_AUTH"`
120119 AllowSignup bool `yaml:"allow_signup" default:"true" env:"WAKAPI_ALLOW_SIGNUP"`
121120 OidcAllowSignup bool `yaml:"oidc_allow_signup" default:"true" env:"WAKAPI_OIDC_ALLOW_SIGNUP"`
121+ DisableLocalAuth bool `yaml:"disable_local_auth" default:"false" env:"WAKAPI_DISABLE_LOCAL_AUTH"`
122122 SignupCaptcha bool `yaml:"signup_captcha" default:"false" env:"WAKAPI_SIGNUP_CAPTCHA"`
123123 InviteCodes bool `yaml:"invite_codes" default:"true" env:"WAKAPI_INVITE_CODES"`
124124 ExposeMetrics bool `yaml:"expose_metrics" default:"false" env:"WAKAPI_EXPOSE_METRICS"`
You can’t perform that action at this time.
0 commit comments