nextcloud/lib/private/Authentication
Lionel Elie Mamane 80973cd60b 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: Lionel Elie Mamane <lionel@mamane.lu>
2020-06-20 11:52:42 +02:00
..
Events Update license headers 2019-12-05 15:38:45 +01:00
Exceptions Update license headers 2019-12-05 15:38:45 +01:00
Listeners Clean up 2FA provider registry when a user is deleted 2020-01-09 10:35:04 +00:00
Login Update license headers 2019-12-05 15:38:45 +01:00
LoginCredentials Return correct loginname in credentials, 2020-06-20 11:52:42 +02:00
Notifications Update license headers 2019-12-05 15:38:45 +01:00
Token Check the user on remote wipe 2020-03-25 15:50:12 +00:00
TwoFactorAuth Clean up 2FA provider registry when a user is deleted 2020-01-09 10:35:04 +00:00