mirror of
https://github.com/quay/quay.git
synced 2026-01-27 18:42:52 +03:00
The behavior between keystonev2 and keystonev3 is different today.
In keystonev3 implementation, the username comes from [user.name][1],
but keystonev2 just uses the incoming `username_or_email`.
Also, by reading `user.name`, we can use keystone APIKeys to do
authentication which is necessary due to potential 2FA requirements.
[1]: f4179e5e71/data/users/keystone.py (L316)