]> source.dussan.org Git - gitea.git/commitdiff
Fix #425
authorUnknwon <joe2010xtmf@163.com>
Tue, 2 Sep 2014 17:01:02 +0000 (13:01 -0400)
committerUnknwon <joe2010xtmf@163.com>
Tue, 2 Sep 2014 17:01:02 +0000 (13:01 -0400)
modules/middleware/auth.go

index 37e3aec4542a095d5733341106f94a28bfd6e709..51ce48c69bafed07b68c0974706b78baa3c1b3cc 100644 (file)
@@ -53,7 +53,7 @@ func Toggle(options *ToggleOptions) macaron.Handler {
                                return
                        } else if !ctx.User.IsActive && setting.Service.RegisterEmailConfirm {
                                ctx.Data["Title"] = ctx.Tr("auth.active_your_account")
-                               ctx.HTML(200, "user/activate")
+                               ctx.HTML(200, "user/auth/activate")
                                return
                        }
                }