Skip to content
Snippets Groups Projects
Commit 9e669cb8 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat(auth): enhance session management and improve user flow

- Add type annotations for H3Event and EventHandlerRequest
- Refactor session generation to include user info in cookies
- Improve password validation for non-development environments
- Simplify session setting in login and register handlers
- Adjust routing logic after login and registration
- Remove redundant router pushes in auth store functions
- Update auth middleware to use session token for validation
- Display error messages on login and registration failures
parent 8d9afbe8
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment