Added reset password route
This commit is contained in:
@@ -48,4 +48,8 @@ func RegisterPublicRoutes(r *gin.Engine) {
|
||||
r.GET("/stats/contracts/total", controllers.GetTotalContractCount)
|
||||
r.GET("/stats/invoices", controllers.GetInvoiceCountByStatus)
|
||||
r.GET("/stats/milestones", controllers.GetContractsMatchingDeviceLocation)
|
||||
|
||||
//Users
|
||||
r.POST("/user/reset/password", controllers.ResetPassword)
|
||||
r.POST("/user/set/password", controllers.UpdatePassword)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user