Skip to content

Sign Up - StringDataRightTruncation error if username is longer than 255 characters #30

Description

@emre-akshuur

Version

v4

Severity

Medium

Suggested Priority

Medium

Observed Behaviour

if the user decides to use more than 255 characters for their username during sign up - they'll see the error below;

Image Image

Expected Behaviour

We should show a correct error message and/or limit character limits on a lower number to prevent this.

Reproduction Steps

  1. Make sure app.py is running
  2. Navigate to 127.0.0.1:5001/signup
  3. Type 255 character long username and a valid password.
  4. Observe error on webpage and terminal

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions