goharbor / goharbor/harbor-cli
[bug]: password policy enforcement breaks login
- Dominant language
- Go
- Stars
- 163
- Forks
- 211
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
## Description
Client-side password policy enforcement breaks login functionality. I have an autogenerated (by the `harbor-helm` helm chart) password for the admin account. I can login without problems via WebUI, but attempting setup using `harbor login` causes "* wrong! the password doesn't have an uppercase letter" message
## Steps to Reproduce
1. Run command: `harbor login`
2. With password non-conforming to password policy (in my case lowercase alphanumeric)
3. Observe error
## Expected Behavior
Client should not prevent login, because of violated password policy.
## Actual Behavior
Password policy prevents login, even though the password is correct
## Environment
- OS: Arch Linux
- Tool version: v0.0.19
- Other relevant details: harbor instance deployed via `harbor-helm` helmchart
Contributor guide
Assessment
This issue has not been assessed yet.