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: Prevent unauthorized role assignment in registration
- Removed client-side 'role_id' input to prevent unauthorized role manipulation.
- Set default 'role_id' to 2 (customer) directly in `AuthController`, ensuring only authorized roles are assigned server-side.
0 commit comments