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

This commit is contained in:
Lauris BH authored and zeripath committed 2019-04-02 09:36:56 +01:00
1 parent 3725eefb7f
commit 3b28de7d8e
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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)