File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -995,8 +995,8 @@ func newService() {
995
995
Service .NoReplyAddress = sec .Key ("NO_REPLY_ADDRESS" ).MustString ("noreply.example.org" )
996
996
997
997
sec = Cfg .Section ("openid" )
998
- Service .EnableOpenIDSignIn = sec .Key ("ENABLE_OPENID_SIGNIN" ).MustBool (true )
999
- Service .EnableOpenIDSignUp = sec .Key ("ENABLE_OPENID_SIGNUP" ).MustBool (! Service .DisableRegistration )
998
+ Service .EnableOpenIDSignIn = sec .Key ("ENABLE_OPENID_SIGNIN" ).MustBool (false )
999
+ Service .EnableOpenIDSignUp = sec .Key ("ENABLE_OPENID_SIGNUP" ).MustBool (! Service .DisableRegistration && Service . EnableOpenIDSignIn )
1000
1000
pats := sec .Key ("WHITELISTED_URIS" ).Strings (" " )
1001
1001
if len (pats ) != 0 {
1002
1002
Service .OpenIDWhitelist = make ([]* regexp.Regexp , len (pats ))
You can’t perform that action at this time.
0 commit comments