feat(auth): 登录注册 - 添加短信通知与组合验证支持

This commit is contained in:
ddCat committed 2026-09-22 23:46:15 +08:00
1 parent 6c013ebf7e
commit bc0d109428
55 files changed
+4013 -103

No files matched your search

+3 -1
View File
@@ -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) {