Severity: MEDIUM
Location: src/Models/User.php:92-96
Bug: Future form that includes suspension_reason in $data could bypass the opt-in model.
Fix: Add suspension_reason to the list.
Status: open. Will reply with remediation details when resolved.
Severity: MEDIUM
Location: src/Models/User.php:92-96
Bug: Future form that includes suspension_reason in $data could bypass the opt-in model.
Fix: Add suspension_reason to the list.
Status: open. Will reply with remediation details when resolved.
Resolved.
Added 'suspension_reason' to User::PROTECTED_UPDATE_KEYS (src/Models/User.php). A future form handler that included suspension_reason in the $data array would now hit the opt-in guard instead of silently writing. Existing User::update(..., true) callers are unaffected — they already pass the $allowProtected flag.
Locking this thread.
We noticed you are visiting from a mobile device. We are glad you are here, but know that 6502ish is best experienced on the desktop. Some features are not easily used via mobile and your experience may vary from the full experience via desktop.