Skip to content
Commit 2f75ba1a authored by Lionel Elie Mamane's avatar Lionel Elie Mamane Committed by backportbot[bot]
Browse files

Return correct loginname in credentials,



even when token is invalid or has no password.

Returning the uid as loginname is wrong, and leads to problems when
these differ. E.g. the getapppassword API was creating app token with
the uid as loginname. In a scenario with external authentication (such
as LDAP), these tokens were then invalidated next time their underlying
password was checked, and systematically ceased to function.

Signed-off-by: default avatarLionel Elie Mamane <lionel@mamane.lu>
parent b19525eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment