Username limited to be at least 4 characters long #161

Closed
opened 2025-11-15 11:45:14 -06:00 by Jeffboq · 3 comments
Jeffboq commented 2025-11-15 11:45:14 -06:00 (Migrated from github.com)

Describe the bug:

Cannot create a user with a 3 characters long name.

To Reproduce:

  1. Create a new invitation, set username to 3 characters (ex: jef)
  2. Username Field will be marked in red with the following message : "Must be at least 4 characters long."

Additional context:

This is the only thing preventing me from using voidauth in my homelab as some existing usernames are only 3 characters long.
Maybe can this be added as configuration option like the PASSWORD_STRENGTH ?

### Describe the bug: Cannot create a user with a 3 characters long name. ### To Reproduce: 1. Create a new invitation, set username to 3 characters (ex: *jef*) 2. *Username* Field will be marked in red with the following message : "**Must be at least 4 characters long.**" ### Additional context: This is the only thing preventing me from using voidauth in my homelab as some existing usernames are only 3 characters long. Maybe can this be added as configuration option like the **PASSWORD_STRENGTH** ?
notquitenothing commented 2025-11-15 12:21:26 -06:00 (Migrated from github.com)

I don't see any issue changing the minimum username length to 3 characters, or even fewer, since I believe I just chose 4 as a sane default while getting the app working.

I will probably include this change in the next release, as long as I don’t run into any issues.

I don't see any issue changing the minimum username length to 3 characters, or even fewer, since I believe I just chose 4 as a sane default while getting the app working. I will probably include this change in the next release, as long as I don’t run into any issues.
tedtramonte commented 2025-11-25 12:36:26 -06:00 (Migrated from github.com)

ted checking in excited for this!

`ted` checking in excited for this!
notquitenothing commented 2025-11-30 14:31:28 -06:00 (Migrated from github.com)

Name and Username character minimum limits have been updated to only 3 characters in the latest release v1.5.0. Good luck ted!

Name and Username character minimum limits have been updated to only 3 characters in the latest release [v1.5.0](https://github.com/voidauth/voidauth/releases/tag/v1.5.0). Good luck `ted`!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
adam/gate#161
No description provided.