Skip to content

Commit

Permalink
Fix admin setup bug
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Jan 8, 2025
1 parent 5d8e0e2 commit 260b0c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions handler/setup_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func SetupDomainUserPost(serverFactory *server.Factory, templates *template.Temp

// Collect the transaction data from the request
var data struct {
DisplayName string `json:"displayName"`
EmailAddress string `json:"emailAddress"`
Username string `json:"username"`
Password string `json:"password"`
DisplayName string `form:"displayName"`
EmailAddress string `form:"emailAddress"`
Username string `form:"username"`
Password string `form:"password"`
}

if err := ctx.Bind(&data); err != nil {
Expand Down

0 comments on commit 260b0c2

Please sign in to comment.