forked from forgejo/forgejo
Add flash message after an account has been successfully activated (#4510)
* added new locale text
This commit is contained in:
parent
32f25598b3
commit
630f234223
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue