Skip to content
Commit f7f053b1 authored by Lionel Elie Mamane's avatar Lionel Elie Mamane
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 95ef2ca2
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