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?
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?