Invite system and user registration #32

Merged
robin merged 13 commits from dev into main 2026-08-31 21:38:47 +02:00
Showing only changes of commit 2ae4dbdc11 - Show all commits
+3 -1
View File
@@ -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