webdevcody / wdc-saas-starter-kit

https://wdcstarterkit.com/
MIT License
867 stars 221 forks source link

Duplicate Code #28

Open mzafarr opened 1 week ago

mzafarr commented 1 week ago

The hashPassword function used in data-access/accounts.ts and data-access/users.ts is separately defined in both the files even though they have exactly the same code. Also was wondering the benefit of having user and account separate. Why not as a single table/object?