Skip to content

Create User response code 500 (internal server error) #9

Description

@petomka

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions