mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 08:09:59 +01:00
conf: overhaul auth and user settings (#5942)
* conf: overhaul auth and user settings * ci: update travis Go versions
This commit is contained in:
@@ -22,7 +22,7 @@ const (
|
||||
|
||||
func Home(c *context.Context) {
|
||||
if c.IsLogged {
|
||||
if !c.User.IsActive && conf.Service.RegisterEmailConfirm {
|
||||
if !c.User.IsActive && conf.Auth.RequireEmailConfirmation {
|
||||
c.Data["Title"] = c.Tr("auth.active_your_account")
|
||||
c.Success(user2.ACTIVATE)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user