1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Files
quay/data
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
..
2019-11-12 11:09:47 -05:00
2022-07-22 13:11:39 -04:00
2020-06-05 16:50:13 -04:00
2022-06-13 11:01:17 +02:00
2020-06-05 16:50:13 -04:00
2022-06-27 17:52:29 +02:00
2019-12-02 12:23:08 -05:00
2022-06-13 11:01:17 +02:00