delete reservation and history benef

This commit is contained in:
soukainna
2024-09-02 21:33:50 +02:00
parent b77403c674
commit 4ecefbc8e1
5 changed files with 71 additions and 14 deletions

View File

@@ -40,8 +40,8 @@ func (h *AuthHandler) Onboarding(w http.ResponseWriter, r *http.Request) {
display_name := fmt.Sprint(r.FormValue("first_name")) + " " + fmt.Sprint(r.FormValue("last_name"))
account := &ma.Account{
Authentication: ma.AccountAuth{
Local: ma.LocalAuth{
Username: onboardingmap["username"].(string),
Local: &ma.LocalAuth{
Username: onboardingmap["username"].(*string),
Password: r.FormValue("password"),
},
},