Compare commits

...

1 Commits

Author SHA1 Message Date
904755187f registration sql binding fix 2024-10-20 22:03:24 +02:00

View File

@ -16,7 +16,7 @@ func Register(user model.User) error {
user.Password = string(bytes)
_, err = db.NamedExec(`insert into "user" ("neptun", "email", "password") values (:neptun, :email ,:password)`, user)
_, err = db.NamedExec(`insert into "user" ("neptun", "email", "password") values (:neptun, :email ,:password_hash)`, user)
return err
}