summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/api.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-05-06 16:31:40 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 13:36:46 +0200
commit46bdf6ea2b1e10c2f4d2fae214ecc81b188fa981 (patch)
tree56c5fb779556bea6489463a315affa6726d81655 /lib/private/legacy/api.php
parent3ffa7d986a3bb2a67ae37e017f3e34097774cbf2 (diff)
downloadnextcloud-server-46bdf6ea2b1e10c2f4d2fae214ecc81b188fa981.tar.gz
nextcloud-server-46bdf6ea2b1e10c2f4d2fae214ecc81b188fa981.zip
fix PHPDoc and other minor issues
Diffstat (limited to 'lib/private/legacy/api.php')
-rw-r--r--lib/private/legacy/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/api.php b/lib/private/legacy/api.php
index e3d597fc64e..60300c88b57 100644
--- a/lib/private/legacy/api.php
+++ b/lib/private/legacy/api.php
@@ -358,7 +358,7 @@ class OC_API {
try {
$loginSuccess = $userSession->tryTokenLogin($request);
if (!$loginSuccess) {
- $loginSuccess = $userSession->tryBasicAuthLogin();
+ $loginSuccess = $userSession->tryBasicAuthLogin($request);
}
} catch (\OC\User\LoginException $e) {
return false;