diff --git a/docs/features/user-authentication.md b/docs/features/user-authentication.md index c85d54c..f311ce3 100644 --- a/docs/features/user-authentication.md +++ b/docs/features/user-authentication.md @@ -120,6 +120,7 @@ CREATE TABLE Users ( - [x] Create AuthController with endpoints - [x] Add JWT authentication middleware - [x] Configure CORS for frontend +- [x] Add [Authorize] to protected endpoints ### Phase 2: Database Integration (1-2 hours) - [x] Update User entity to match schema @@ -163,7 +164,7 @@ CREATE TABLE Users ( - [x] Create Services/AuthService.cs - [x] Create Controllers/AuthController.cs - [x] Configure JWT in Program.cs -- [ ] Add [Authorize] attribute to protected endpoints +- [x] Add [Authorize] attribute to protected endpoints (LessonsEndpoints) - [ ] Create AuthMiddleware.cs - [x] Configure CORS policy - [ ] Write unit tests for AuthService