Lots of work on user password reset, #1456
This commit is contained in:
1 parent
aa4d60c21e
commit
c8bc0b3bf8
8 files changed
+129
-50
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ func Register(r *macaron.Macaron) {
|
||||
r.Get("/user/password/reset", Index)
|
||||
|
||||
r.Post("/api/user/password/send-reset-email", bind(dtos.SendResetPasswordEmailForm{}), wrap(SendResetPasswordEmail))
|
||||
r.Post("/api/user/password/reset", wrap(ViewResetPasswordForm))
|
||||
r.Post("/api/user/password/reset", bind(dtos.ResetUserPasswordForm{}), wrap(ResetPassword))
|
||||
|
||||
// dashboard snapshots
|
||||
r.Post("/api/snapshots/", bind(m.CreateDashboardSnapshotCommand{}), CreateDashboardSnapshot)
|
||||
|
||||
Reference in new issue
Block a user