elementary / elementary/initial-setup

Cannot have a username that begins with a number

Open
#141 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
33
Forks
12
PR merge metrics
No merged PRs in 30d

Description

### What Happened?

When creating a user, it will autogenerate a username but allows you to change the username to whatever you would like. There is a validation for the username to be sure it is alphanumeric only but if a username starts with a digital it will fail validation.

For example User420 passes but 420User fails despite both falling under alphanumeric.

### Steps to Reproduce

Go through initial setup until you are asked to create an account. Try to set the username field to start with a digit.

### Expected Behavior

I should be able to create any username that is alphanumeric no matter the order of those characters.

### OS Version

6.x (Odin)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.