1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Files
OpenShift Cherrypick Robot 3b38e85935 [redhat-3.8] security: Change error messages in UI during LDAP login (PROJQUAY-4845) (#1801)
* Change error messages in UI during LDAP login (PROJQUAY-4845)

Previously, on installations where LDAP is used, we were telling users whether the username or password was failing when login attempts were made. This might pose a security risk, a malicious user could, via the returned message, identify which users have access to Quay and which don't.
With this change, we return a general message saying the user used wrong credentials instead of providing any details.

* Fixed tests.

* Fix some more tests.

* Readd accidental removal of one assertion.

---------

Co-authored-by: Ivan Bazulic <ibazulic@redhat.com>
2023-03-21 13:58:43 +01:00
..
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00