-
Notifications
You must be signed in to change notification settings - Fork 937
fix: Confirm password in cli create first user step #1220
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make it easier to change the password instead?
Because we automatically authenticate the user after creating, that would work if they mistyped.
We could always say something like: "Change your password with |
Codecov Report
@@ Coverage Diff @@
## main #1220 +/- ##
==========================================
+ Coverage 65.63% 65.70% +0.07%
==========================================
Files 269 269
Lines 17337 17348 +11
Branches 162 162
==========================================
+ Hits 11379 11399 +20
+ Misses 4768 4763 -5
+ Partials 1190 1186 -4
Continue to review full report at Codecov.
|
Do you think retyping the password would be inconvenient? Would having both would be an option? And is there a chance that the user sets it up on one machine and then tries to log in on another (which might fail without the confirmation prompt)? |
I don't think it's terribly inconvenient I suppose, so I'm not opposed. After your questioning, I agree it's a better flow this way! |
This PR asks the user to confirm the password during the create first user step (cli).
Fixes #1182
Example: