mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-07 21:03:20 +08:00
用户设置
This commit is contained in:
parent
dcc0fc2e86
commit
c7ea14ba9a
@ -83,7 +83,7 @@ func Start(ctx context.Context, cfg *Config, _ discovery.SvcDiscoveryRegistry, g
|
|||||||
s.conf.ExpireSeconds = 120
|
s.conf.ExpireSeconds = 120
|
||||||
}
|
}
|
||||||
if s.conf.VerifyPadding <= 0 {
|
if s.conf.VerifyPadding <= 0 {
|
||||||
s.conf.VerifyPadding = 32
|
s.conf.VerifyPadding = 8
|
||||||
}
|
}
|
||||||
pbcaptcha.RegisterCaptchaServer(grpcServer, s)
|
pbcaptcha.RegisterCaptchaServer(grpcServer, s)
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user