fix bug when user login and want to resend register confirmation email (#6482) (#6487)

This commit is contained in:
Lauris BH
2019-04-02 11:57:26 -04:00
committed by techknowlogick
parent 84a5b81d27
commit 4ff6effe04
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -296,7 +296,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)