bloq / cloud-cli

☁️💻
MIT License
0 stars 0 forks source link

Adds help text for using quotes on password #192

Closed raiseerco closed 2 years ago

raiseerco commented 2 years ago

After creating new accounts and update them to complex passwords, there was no much code to add, since the actual one does support hyphens and exclamation marks for passwords, but only when surrounded by single quotation marks ( ' ). Example:

bcl login -u admin@bloq.com -p my--Pass   <-- failed
bcl login -u admin@bloq.com -p myPass!!!   <-- failed
bcl login -u admin@bloq.com -p 'my--Pass'   <-- success
bcl login -u admin@bloq.com -p 'myPass!!!'   <-- success

When -p is omitted it will be asked later and those passwords will be accepted with no problem.

Screenshots

Hence, this PR will include a wee text reminder to show to the user where and where not to use quotation marks, and get their passwords accepted:

image

Process checklist

Related issue(s)

Closes #191

Metrics

Actual effort: 4h

raiseerco commented 2 years ago

Since this is caused mainly for the os, another issue will be opened on cloud-docs repo to move the note there.