Skip to content

Commit

Permalink
Update user_model.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Hannes Mehnert <[email protected]>
  • Loading branch information
PizieDust and hannesm authored Jul 3, 2024
1 parent 94c8cee commit 68abcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_model.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let generate_token ?(expires_in = 3600) () =

let create_user ~name ~email ~password =
let uuid = Uuidm.to_string (generate_uuid ()) in
let user_password = hash_password password uuid in
let password = hash_password password uuid in
{
name = clean_string name;
email = clean_string email;
Expand Down

0 comments on commit 68abcdc

Please sign in to comment.