nextcloud/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 Add visibility to all constants 2020-04-10 16:54:27 +02:00
Database.php Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
LoginException.php Update license headers 2019-12-05 15:38:45 +01:00
Manager.php Revert "Make sure MySQL is not saying 'this' = 'this ' is true" 2020-04-15 23:49:16 +02:00
NoUserException.php Update license headers for 19 2020-04-29 11:57:22 +02:00
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