mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-27 11:02:48 +09:00
Add send register confirm mail
This commit is contained in:
@ -37,7 +37,7 @@ var (
|
||||
)
|
||||
|
||||
var Service struct {
|
||||
RegisterEmailConfitm bool
|
||||
RegisterEmailConfirm bool
|
||||
ActiveCodeLives int
|
||||
ResetPwdCodeLives int
|
||||
}
|
||||
@ -138,7 +138,7 @@ func newRegisterService() {
|
||||
log.Warn("Register Service: Mail Service is not enabled")
|
||||
return
|
||||
}
|
||||
Service.RegisterEmailConfitm = true
|
||||
Service.RegisterEmailConfirm = true
|
||||
log.Info("Register Service Enabled")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user