mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Any username that is < 3 characters throws a 500 error. #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jackh54 on GitHub (Nov 27, 2024).
Current Behavior
When creating a new user in the panel, if their username is less than 1 or 2 characters it throws a 500 error.
Expected Behavior
Instead of a giant 500 error flashing in my face, put a small popup that says usernames should be greater than 2 characters and contain only letters.
Steps to Reproduce
Create a user in /admin/users, then create a test user with only 1 or 2 characters in the username.
Panel Version
1.0.0-beta13
Wings Version
v1.0.0-beta7
Games and/or Eggs Affected
n/a
Docker Image
n/a
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Nov 27, 2024):
Thanks for your report
https://github.com/pelican-dev/panel/pull/730