Files
dance-lessons-coach/pkg/bdd/steps
Gabriel Radureau db1b277464
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Has been cancelled
CI/CD Pipeline / CI Pipeline (pull_request) Successful in 11m26s
🗑️ refactor: remove redundant admin login endpoint
- Removed /auth/admin/login endpoint (now using unified /auth/login)
- Updated BDD step definitions to use unified endpoint
- Updated router to remove admin-specific login route
- Removed handleAdminLogin function (no longer needed)
- Updated Swagger documentation to reflect changes
- All admin functionality now accessible through unified endpoint

Benefits:
- Cleaner API: Removed redundant endpoint
- Simpler codebase: 45 lines of code removed
- Better UX: Single consistent authentication endpoint
- Maintained functionality: All admin features still work

Testing:
-  All 25 BDD scenarios passing
-  All unit tests passing
-  Admin authentication through unified endpoint
-  Regular user authentication through unified endpoint
-  Swagger documentation updated (admin endpoint removed)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-07 01:01:34 +02:00
..