Closed lxbsz closed 3 years ago
The 401 means the user/password mismatch, and 403 means the requested ip address is not in the trusted ip list and use the "Forbidden" will be clearer and could easily distinguish from the 401 error.
Signed-off-by: Xiubo Li xiubli@redhat.com
Refer RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2013188
The 401 means the user/password mismatch, and 403 means the requested ip address is not in the trusted ip list and use the "Forbidden" will be clearer and could easily distinguish from the 401 error.
Signed-off-by: Xiubo Li xiubli@redhat.com