parent
a4ff94d78b
commit
20b5188662
@ -213,8 +213,6 @@ func (h *CitadelHandler) InstallHandler(w http.ResponseWriter, r *http.Request)
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
log.WithFields(log.Fields{"r": requestData}).Info("install")
|
|
||||||
|
|
||||||
createdAt := time.Now().UTC()
|
createdAt := time.Now().UTC()
|
||||||
hashedPwd, err := bcrypt.GenerateFromPassword([]byte(requestData.User.Password), 14)
|
hashedPwd, err := bcrypt.GenerateFromPassword([]byte(requestData.User.Password), 14)
|
||||||
user, err := h.repo.CreateUserAccount(r.Context(), db.CreateUserAccountParams{
|
user, err := h.repo.CreateUserAccount(r.Context(), db.CreateUserAccountParams{
|
||||||
|
Loading…
Reference in New Issue
Block a user