Describe the bug
When I send a request to /api/auth/register with the following json body:
{
"username": "Hi",
"consent": false
}
I get this error:
{
"code": 50035,
"message": "Invalid Form Body",
"errors": {
"consent": {
"_errors": [
{
"message": "You must agree to the Terms of Service and Privacy Policy.",
"code": "CONSENT_REQUIRED"
}
]
}
}
}
So far, so good.
However, if I don't supply a username, like this:
Describe the bug When I send a request to /api/auth/register with the following json body:
I get this error:
So far, so good. However, if I don't supply a username, like this:
, the response looks like this:
The field under "errors" is just an empty string. Is this supposed to be like that?
System Information (please complete the following information):
Env and Software info
Additional context i hate json i hate json i hate json i hate json i hate json i hate json