Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6be255 commit 5df5763Copy full SHA for 5df5763
coderd/coderd.go
@@ -242,7 +242,7 @@ func New(options *Options) (http.Handler, func()) {
242
r.Put("/suspend", api.putUserSuspend)
243
r.Route("/password", func(r chi.Router) {
244
r.Use(httpmw.WithRBACObject(rbac.ResourceUserPasswordRole))
245
- r.Put("/password", authorize(api.putUserPassword, rbac.ActionUpdate))
+ r.Put("/", authorize(api.putUserPassword, rbac.ActionUpdate))
246
})
247
r.Get("/organizations", api.organizationsByUser)
248
r.Post("/organizations", api.postOrganizationsByUser)
0 commit comments