From 630f2342231c882f79dd159aee81b963131f80ba Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 25 Jul 2018 18:54:56 +0100 Subject: Add flash message after an account has been successfully activated (#4510) * added new locale text --- routers/user/auth.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/user') diff --git a/routers/user/auth.go b/routers/user/auth.go index 9a24108c73..b24c56745d 100644 --- a/routers/user/auth.go +++ b/routers/user/auth.go @@ -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 } -- cgit v1.2.3