nextcloud/lib/private
Lionel Elie Mamane 2f75ba1adb 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-07-09 14:37:05 +00:00
..
Accounts Update license headers for 19 2020-04-29 11:57:22 +02:00
Activity Update license headers for 19 2020-04-29 11:57:22 +02:00
App Increase timeout of the appstore requests 2020-07-02 23:36:24 +02:00
AppFramework Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 2020-07-02 10:09:45 +00:00
Archive Update license headers for 19 2020-04-29 11:57:22 +02:00
Authentication Return correct loginname in credentials, 2020-07-09 14:37:05 +00:00
Avatar Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Fix unit tests 2020-06-23 12:04:50 +00:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts/ContactsMenu Update license headers for 19 2020-04-29 11:57:22 +02:00
DB Update license headers for 19 2020-04-29 11:57:22 +02:00
Dashboard Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Update license headers for 19 2020-04-29 11:57:22 +02:00
EventDispatcher Log deprecated events as debug 2020-07-02 10:49:11 +02:00
Federation Update license headers for 19 2020-04-29 11:57:22 +02:00
Files Fix static method call for s3 bucket compat check 2020-07-03 08:26:00 +00:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Improve group queries 2020-05-22 12:22:03 +00:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http Revert "[stable19] Do not read certificate bundle from data dir by default" 2020-07-03 14:21:38 +02:00
IntegrityCheck Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Fix languages empty array 2020-05-08 09:25:59 +00:00
Lock Fix releasing a shared lock multiple times 2020-07-06 12:11:46 +00:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Don't log Keys 2020-06-19 13:11:18 +00:00
Mail Fix notification mail tests 2020-05-01 03:00:42 +02:00
Memcache Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Preview Update license headers for 19 2020-04-29 11:57:22 +02:00
Remote Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair Update license headers for 19 2020-04-29 11:57:22 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Update license headers for 19 2020-04-29 11:57:22 +02:00
Search Update license headers for 19 2020-04-29 11:57:22 +02:00
Security Use random_bytes 2020-05-11 12:23:02 +00:00
Session Update license headers for 19 2020-04-29 11:57:22 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Update license headers for 19 2020-04-29 11:57:22 +02:00
Share Update license headers for 19 2020-04-29 11:57:22 +02:00
Share20 Fix language in share notes email for users 2020-06-23 21:29:49 +00:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Update license headers for 19 2020-04-29 11:57:22 +02:00
Tagging Update license headers for 19 2020-04-29 11:57:22 +02:00
Template Give up after 10 seconds in SCSS timeout 2020-06-19 19:29:56 +00:00
Updater Update license headers for 19 2020-04-29 11:57:22 +02:00
User Update license headers for 19 2020-04-29 11:57:22 +02:00
legacy Fix OC_Image new resize functions 2020-05-02 21:57:34 +02:00
AllConfig.php Define getSystemValueBool/Int/String function default parameter with correct type 2020-04-29 14:19:52 +02:00
AppConfig.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Config.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ContactsManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelper.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair.php Remove obsolete repair steps for logo and updater channel 2020-04-24 09:57:52 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Server.php Move to subfolders for preview files 2020-04-19 10:30:56 +02:00
ServerContainer.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Update hub bundle and add proxy rule to htaccess 2020-05-25 19:52:22 +00:00
Streamer.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SubAdmin.php Don't loop over all groups to check for subadmins 2020-04-27 08:37:53 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Tags.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TempManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TemplateLayout.php Provide config though initial state service 2020-04-23 19:12:53 +02:00
URLGenerator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater.php Update license headers for 19 2020-04-29 11:57:22 +02:00