week7-auth #5
Loading…
Reference in a new issue
No description provided.
Delete branch "week7-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- register() hashes the password with bcrypt and returns a JWT - login() verifies with passwordEncoder.matches and returns a JWT - Keep the Part A session-check endpoint for before/after comparison - Restore GET /api/auth/me, lost when pasting the Part A login code - @PreAuthorize("hasRole('ADMIN')") on reindex(), stats() and lag() All 46 tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>