1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add flash message after an account has been successfully activated (#4510)

* added new locale text
This commit is contained in:
Lanre Adelowo
2018-07-25 18:54:56 +01:00
committed by Lauris BH
parent 32f25598b3
commit 630f234223
2 changed files with 2 additions and 0 deletions

View File

@@ -1035,6 +1035,7 @@ func Activate(ctx *context.Context) {
ctx.Session.Set("uid", user.ID)
ctx.Session.Set("uname", user.Name)
ctx.Flash.Success(ctx.Tr("auth.account_activated"))
ctx.Redirect(setting.AppSubURL + "/")
return
}