Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend:createadmin - user with less than 4 chars #813

Closed
kszymukowicz opened this issue Jun 5, 2019 · 3 comments
Closed

backend:createadmin - user with less than 4 chars #813

kszymukowicz opened this issue Jun 5, 2019 · 3 comments
Labels

Comments

@kszymukowicz
Copy link

kszymukowicz commented Jun 5, 2019

Bug Report

Current Behavior
While creating backend user with "backend:createadmin" the username must be at least 4 chars. We use person initials in our projects therefore our usernames are "ab", "bt" etc.

Expected behavior/output
If TYPO3 core allows to create users with less than 4 chars then I suppose "backend:createadmin" should also allow it.

TYPO3 Console command executed

typo3cms backend:createadmin ab 10294812987419284614

TYPO3 Console command output

Username must be at least 4 characters.

Environment

  • TYPO3 Console version(s): 5.5.0
  • TYPO3 version(s): 9.5.5
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: OSX
@helhum helhum added the Bug label Jun 13, 2019
@helhum
Copy link
Member

helhum commented Jun 13, 2019

The install tool allows to create admin users with 1 char as username.

@kszymukowicz @l00k Can anybody of you create a pull request changing the check so that single char usernames are allowed? Thanks.

@l00k
Copy link

l00k commented Jun 17, 2019

Done.
#820

@helhum
Copy link
Member

helhum commented Jun 17, 2019

@l00k Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants