aboutsummaryrefslogtreecommitdiffstats
path: root/routers/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/user.go')
-rw-r--r--routers/user/user.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/user/user.go b/routers/user/user.go
index 32f458f835..37070af3f9 100644
--- a/routers/user/user.go
+++ b/routers/user/user.go
@@ -249,6 +249,9 @@ func Activate(ctx *middleware.Context) {
user.IsActive = true
user.Rands = models.GetUserSalt()
models.UpdateUser(user)
+
+ log.Trace("%s User activated: %s", ctx.Req.RequestURI, user.LowerName)
+
ctx.Session.Set("userId", user.Id)
ctx.Session.Set("userName", user.Name)
ctx.Redirect("/", 302)