BLOG-86 Checking authentication before uploading image #101

Merged
squid merged 5 commits from BLOG-86_image_can_only_be_uploaded_by_logged_in_user into main 2025-08-01 18:26:39 +08:00

5 Commits

Author SHA1 Message Date
04c9d4dcf0 BLOG-86 refactor: simplify auth middleware by removing unnecessary error handling and integrating user ID retrieval
All checks were successful
Frontend CI / build (push) Successful in 1m8s
PR Title Check / pr-title-check (pull_request) Successful in 16s
2025-08-01 18:24:02 +08:00
eb7a3cf985 BLOG-86 refactor: update UserId struct to encapsulate user ID and improve access method
All checks were successful
Frontend CI / build (push) Successful in 1m9s
Auto Comment On PR / add_improve_comment (pull_request) Successful in 16s
PR Title Check / pr-title-check (pull_request) Successful in 17s
2025-08-01 18:05:47 +08:00
a72a567d6a BLOG-86 feat: add auth dependency and integrate UserId in image upload handler 2025-08-01 17:46:50 +08:00
0e8eb809a5 BLOG-86 feat: implement authentication middleware and update routes for user session management 2025-08-01 17:40:34 +08:00
87982fd480 BLOG-86 fix: redis URL in session configuration to use correct localhost address 2025-08-01 17:40:13 +08:00