mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Enable registration for CI
This commit is contained in:
parent
e2e1ff7ea3
commit
43b44a3d15
|
|
@ -90,6 +90,7 @@ func main() {
|
|||
cfg.Logging[0].Type = "std"
|
||||
cfg.UserAPI.BCryptCost = bcrypt.MinCost
|
||||
cfg.Global.JetStream.InMemory = true
|
||||
cfg.ClientAPI.RegistrationDisabled = false
|
||||
cfg.ClientAPI.RegistrationSharedSecret = "complement"
|
||||
cfg.Global.Presence = config.PresenceOptions{
|
||||
EnableInbound: true,
|
||||
|
|
|
|||
|
|
@ -61,9 +61,10 @@ func (c *ClientAPI) Defaults(generate bool) {
|
|||
c.RecaptchaEnabled = false
|
||||
c.RecaptchaBypassSecret = ""
|
||||
c.RecaptchaSiteVerifyAPI = ""
|
||||
c.RegistrationDisabled = false
|
||||
c.RegistrationDisabled = true
|
||||
c.RegistrationWithoutVerificationEnabled = false
|
||||
if generate {
|
||||
c.RegistrationDisabled = false
|
||||
c.RegistrationWithoutVerificationEnabled = true
|
||||
}
|
||||
c.RateLimiting.Defaults()
|
||||
|
|
|
|||
Loading…
Reference in a new issue