Commit graph

2 commits

Author SHA1 Message Date
Blake Ridgway
4a4d693d72 fix: resolve AttributeError in User model and ensure consistent password handling
- Fixed the `AttributeError: 'User' object has no attribute '_password'` by properly mapping the `_password` attribute to the `password` column in the database.
- Updated the `User` model to ensure passwords are only hashed once during creation and not re-hashed when retrieved or updated.
- Improved the `check_password` method to correctly compare hashed passwords.
- Verified the signup and login flow to ensure consistent behavior
2025-02-15 22:42:50 -06:00
Blake Ridgway
d13c5885d8 (refactor) boilerplate .gitignore, cleaned up folders 2025-02-15 21:54:25 -06:00
Renamed from models/user.py (Browse further)