kscalelabs / store

K-Scale Labs store
https://kscale.store
MIT License
25 stars 24 forks source link

Hashed password #236

Closed Winston-Hsiao closed 1 month ago

Winston-Hsiao commented 1 month ago

For user sign up with email and password

Use bcrypt package.

  1. add hashed_password field to User model in model.py
  2. modify user creation api route to hash password and create user with the hashed_password stored
  3. sign in/auth flow with hashed password