Commit graph

17 commits

Author SHA1 Message Date
94b603b83c refactor: remove 'mustChangePassword' field from user forms and related logic 2025-12-15 12:15:26 +01:00
4d7802ccc6 feat: implement user invitation system with email invites and password setup
- Added user_invites table to manage invitation tokens.
- Created invite router with procedures for sending, verifying, and accepting invites.
- Implemented email sending functionality for invites.
- Updated user controller to handle password setting during invite acceptance.
- Introduced mustChangePassword flag in user schema and related logic.
- Added middleware to enforce password change requirement.
- Created forms for accepting invites and changing passwords.
- Updated database migrations to reflect new user invite structure and fields.
2025-12-14 18:57:56 +01:00
29c8453bad refactor: improve login error handling and user feedback in FormLogin and auth.controller 2025-11-24 10:51:51 +01:00
65ea60a647 refactor: remove console logs and update logger function in auth and db controllers 2025-09-05 15:22:48 +02:00
128088abfd fix: update token expiration handling to use correct time units for cookies 2025-09-04 12:38:49 +02:00
d5894f6ec4 refactor: centralize token configuration and update cookie handling in auth middleware and controllers 2025-09-04 12:35:44 +02:00
8761c8d5a3 t 2025-09-04 11:49:15 +02:00
26e0754b1c d 2025-09-04 11:32:17 +02:00
2492b98c20 fix: streamline cookie import and improve error handling in logIn function 2025-09-04 11:07:31 +02:00
3ab995ded7 err check login 2025-09-03 21:43:41 +02:00
08333b80b2 feat: add error logging for user not found in login process 2025-09-02 19:12:17 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
90e05c5989 fix: improve login error messages for better clarity 2025-08-27 10:56:15 +02:00
39f6cdfdbd fix: change SameSite cookie attribute from 'strict' to 'lax' for better compatibility 2025-08-25 12:33:29 +02:00
aaea1eb6bb Enhance session management: restrict session access for blocked users and reduce token expiration to one day 2025-08-20 14:17:26 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00