Skip to content
Unverified Commit ac8b40b8 authored by Lionel Elie Mamane's avatar Lionel Elie Mamane Committed by Morris Jobke
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.

Co-authored-by: default avatarkesselb <mail@danielkesselberg.de>
for: switch to consistent camelCase

Signed-off-by: default avatarLionel Elie Mamane <lionel@mamane.lu>
parent 03603db4
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