-
Sub-task
-
Resolution: Won't Do
-
Undefined
-
None
-
None
Description of problem:
Trying to login into a capsule registry (handled by smart-proxy containter_gateway), a user gets a "Login Succeeded!" when no username/password are informed.
Providing any bad username/password user gets the expected authentication error.
Success message is is misleading, since no actual authentication happened and no protected content can be pulled.
Version-Release number of selected component (if applicable):
Observed on 6.14 and 6.15
How reproducible:
Always
Steps to Reproduce:
1. Try running "podman login mycapsule.example.com" and don't inform username or password:
~~~
- podman login mycapsule.example.com
Username:
Password:
Login Succeeded!
~~~
Actual results:
user gets a login succeeded message
Expected results:
authentication should fail if no username/password was informed
Additional info:
DEV Tracker for https://issues.redhat.com/browse/SAT-25333