Skip to content

coder login will reprompt Confirm Password if passwords don't match #2626

@oxy

Description

@oxy

Steps to reproduce

Use coder login to create the first account on an instance, enter a username/email, enter a password, and then enter a different password when asked to confirm:

image

If the user forgot the password they entered for the first prompt, they are now stuck in a loop and have to cancel/rerun the command.

Expected behavior

It reprompts for Enter a password, in case the user forgot the password initially, allowing account creation to continue.

Workarounds

Ctrl-C and try again. Not good UX, but works in a pinch.

Metadata

Metadata

Assignees

Labels

cliArea: CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions