add flash message after ann account has been successfully activated
This commit is contained in:
parent
d0fef4395f
commit
80c4a5971e
|
@ -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("admin.users.is_activated"))
|
||||
ctx.Redirect(setting.AppSubURL + "/")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user