feat(auth): 登录注册 - 添加短信通知与组合验证支持
This commit is contained in:
1 parent
6c013ebf7e
commit
bc0d109428
55 files changed
+4013
-103
No files matched your search
@@ -117,7 +117,9 @@ func (s *Service) authDomain() *auth.Service {
|
||||
if s.auth != nil {
|
||||
return s.auth
|
||||
}
|
||||
return auth.New(s.repo, authHost{svc: s}, nil)
|
||||
domain := auth.New(s.repo, authHost{svc: s}, nil)
|
||||
domain.SetSMSDelivery(s.smsDomain())
|
||||
return domain
|
||||
}
|
||||
|
||||
func (s *Service) PublicAuthSettings() (*PublicAuthSettings, error) {
|
||||
|
||||
Reference in new issue
Block a user