summaryrefslogtreecommitdiffstats
path: root/routers/routes/routes.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-04-02 13:44:33 +0800
committerLauris BH <lauris@nix.lv>2019-04-02 08:44:33 +0300
commitef2a343e27d8af2de0bb696bd60d9a019e1e8b69 (patch)
tree0c681f1fffbd8f995ec68e13b86f5d2e7eef8168 /routers/routes/routes.go
parentb04a1d9d639a285db6c3fb9fd675ccb22a04fd14 (diff)
downloadgitea-ef2a343e27d8af2de0bb696bd60d9a019e1e8b69.tar.gz
gitea-ef2a343e27d8af2de0bb696bd60d9a019e1e8b69.zip
fix bug when user login and want to resend register confirmation email (#6482)
Diffstat (limited to 'routers/routes/routes.go')
-rw-r--r--routers/routes/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index fafef0830e..6311a41d27 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -339,7 +339,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("/user", func() {
// r.Get("/feeds", binding.Bind(auth.FeedsForm{}), user.Feeds)
- m.Any("/activate", user.Activate)
+ m.Any("/activate", user.Activate, reqSignIn)
m.Any("/activate_email", user.ActivateEmail)
m.Get("/email2user", user.Email2User)
m.Get("/forgot_password", user.ForgotPasswd)