aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2020-06-20 11:21:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-20 16:02:22 +0200
commitac8b40b8b12d4bf85bdd6b7ab038f0605c8651d9 (patch)
treec1ea1568445cd6168c571721a7e362f60b168833 /lib/private/Files/ObjectStore
parent03603db486debbb31dfa05486f3b10338a28b50c (diff)
downloadnextcloud-server-ac8b40b8b12d4bf85bdd6b7ab038f0605c8651d9.tar.gz
nextcloud-server-ac8b40b8b12d4bf85bdd6b7ab038f0605c8651d9.zip
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: kesselb <mail@danielkesselberg.de> for: switch to consistent camelCase Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'lib/private/Files/ObjectStore')
0 files changed, 0 insertions, 0 deletions