add flash message after ann account has been successfully activated

This commit is contained in:
Lanre Adelowo 2018-07-24 17:02:45 +01:00
parent d0fef4395f
commit 80c4a5971e

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("admin.users.is_activated"))
ctx.Redirect(setting.AppSubURL + "/")
return
}