Skip to content

Develop#16

Draft
elstron wants to merge 26 commits intomainfrom
develop
Draft

Develop#16
elstron wants to merge 26 commits intomainfrom
develop

Conversation

@elstron
Copy link
Contributor

@elstron elstron commented Feb 19, 2026

No description provided.

SofiDevO and others added 26 commits February 16, 2026 16:55
…teps to README, and introduce a security roadmap in TODO.md.
Develop: Recuerda crear una rama para cada PR
Added a type guard to ensure the JWT payload is an object before resolving, enhancing token validation safety.
🔧 chore(husky): update pre-commit hook to use lint-staged and clean u…
- Added employee registration endpoint with admin authentication and CSRF protection.
- Implemented temporary password generation and JWT token for email verification.
- Added middleware to ensure only admins can register employees.
- Refactored AuthService and AuthController for new flow.
- Added integration tests for employee registration using Vitest and Supertest.
- Updated dependencies and scripts for testing.
- Generate temporary password server-side instead of using token from frontend
- Fix verification URL to use SITE env variable
- Update tests to reflect backend verification changes
- Enhance security by preventing token falsification during registration
- Add .env.test and test.db to .dockerignore to prevent test artifacts from being included in builds
- Change database volume in docker-compose.dev.yml to use named volume sqlite_data instead of local ./data folder
- Minor formatting fixes in docker-compose.dev.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants