diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2018-07-25 18:54:56 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-07-25 20:54:56 +0300 |
commit | 630f2342231c882f79dd159aee81b963131f80ba (patch) | |
tree | 5188d236050098d2f22ed582116287a98bedf961 /routers | |
parent | 32f25598b336fc2ba6bda9b1f70928b0694455ec (diff) | |
download | gitea-630f2342231c882f79dd159aee81b963131f80ba.tar.gz gitea-630f2342231c882f79dd159aee81b963131f80ba.zip |
Add flash message after an account has been successfully activated (#4510)
* added new locale text
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/auth.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |