nextcloud-server/lib/private/User
Lionel Elie Mamane ac8b40b8b1
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>
2020-08-20 16:02:22 +02:00
..
Backend.php
Database.php Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
LoginException.php
Manager.php
NoUserException.php
Session.php Return correct loginname in credentials, 2020-08-20 16:02:22 +02:00
User.php User.php: rename of old dispatcher to legacyDispatcher 2020-07-30 10:21:08 +02:00