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
A user name longer than 16 characters is by default a schema violation of the database, but the length of the username of the request body is not checked. The server returns a 500 (internal server error), and a Stack-trace is printed to the console.
Expected behavior would be error 400 (bad request).
Is it possible to change the maximum length of a username in a configuration without manually changing the definition of the database relation?
The text was updated successfully, but these errors were encountered:
petomka
changed the title
Create User response code 500 (bad request)
Create User response code 500 (internal server error)
Feb 6, 2023
Related to #8.
A user name longer than 16 characters is by default a schema violation of the database, but the length of the username of the request body is not checked. The server returns a 500 (internal server error), and a Stack-trace is printed to the console.
Expected behavior would be error 400 (bad request).
Is it possible to change the maximum length of a username in a configuration without manually changing the definition of the database relation?
The text was updated successfully, but these errors were encountered: