1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Add send register confirm mail

This commit is contained in:
Unknown
2014-03-19 08:27:27 -04:00
parent fbbae2b721
commit de087c7b4a
10 changed files with 204 additions and 28 deletions

View File

@@ -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")
}