feat: POST /users is now no longer a protected route
This commit is contained in:
@@ -45,7 +45,9 @@ func NewMux(cfg Config) http.Handler {
|
||||
apiMux.HandleFunc("POST /logout/all", authHandler.LogoutAllDevices)
|
||||
|
||||
// Users
|
||||
apiMux.Handle("POST /users", protected(userHandler.CreateUser))
|
||||
apiMux.HandleFunc("POST /users", userHandler.CreateUser)
|
||||
|
||||
// User
|
||||
apiMux.Handle("POST /user/password", protected(userHandler.ChangePassword))
|
||||
|
||||
// Invites
|
||||
|
||||
Reference in New Issue
Block a user