AOSSIE-Org / AOSSIE-Org/BabyNest

[HIGH] require_auth decorator broken - endpoints always return 401

Đang mở
#206 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
56
Fork
124
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The require_auth decorator checks session['user_id'], but there is no login route, no session creation, and no authentication anywhere. All medicine endpoints guarded by @require_auth will always return 401 - permanently inaccessible.\n\nFile: Backend/routes/medicine.py, lines 14-20\nFix: Remove @require_auth for single-user design, or implement proper auth flow.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.