mirror of
https://github.com/grafana/grafana.git
synced 2025-09-26 02:44:12 +08:00
Lots of work on user password reset, #1456
This commit is contained in:
@ -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