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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user