I'll fix all API controllers code to always respond with JSON, and not use abort().
Could work untill we want to support passwords like "000000000" and other "nullable" strings.
|22 ↗||(On Diff #2341)|
I found it problematic with input validation. Not impossible, but harder to handle . For example, user settings cannot be NULL at the moment, so to reset (set to an empty value) a setting we just POST empty strings. If they are converted to null, we need to add more code to detect that.