You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): prevent privilege escalation during public user registration
- Ignore user-supplied role in req.body on POST /api/v1/auth/register to enforce default user role
- Add unit test verifying that self-assigned roles during public registration are ignored
Co-authored-by: SOURAV-ROY <8663561+SOURAV-ROY@users.noreply.github.com>
0 commit comments