Cannot generate admin password by leaving the field blank in set-admin-password
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start at the set-admin-password command entry point and reproduce the blank-input path with pilot -b dev-bench set-admin-password. Trace how an empty response is validated versus how generated passwords are handled. Done means pressing Enter generates a secure password meeting the listed requirements and outputs or saves it successfully.
Written by the indexing model from the issue text.
Description
When running the set-admin-password command, the CLI prompts that the user can leave the password blank to auto-generate one. However, pressing Enter without typing a password causes the command to fail immediately with an error stating that the password must not be empty.
Steps to Reproduce
- Run the following command in the terminal:
pilot -b dev-bench set-admin-password
- When prompted for New admin password:, leave it blank and press Enter.
Expected Behavior
The system should automatically generate a secure password conforming to the listed requirements and output/save it.
Actual Behavior
The CLI exits immediately with an error:
Password requirements: at least 8 characters, with upper and lower case letters, a number, and a symbol.
Leave blank to generate one.
New admin password:
Password must not be empty.
- Dominant language
- Python
- Stars
- 107
- Forks
- 63
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 49
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from frappe/pilot
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100