aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-30 14:36:56 -0800
committerfriendica <info@friendica.com>2014-01-30 14:36:56 -0800
commit0fae8acdefa26c19429ffef218066050d1ae825e (patch)
tree9effc2da31e57911c837e900ad91b0895721df96 /include/reddav.php
parent48bc9b546cdc0fae23efc3756e37ce59dc81737a (diff)
downloadvolse-hubzilla-0fae8acdefa26c19429ffef218066050d1ae825e.tar.gz
volse-hubzilla-0fae8acdefa26c19429ffef218066050d1ae825e.tar.bz2
volse-hubzilla-0fae8acdefa26c19429ffef218066050d1ae825e.zip
fix basic auth with account (not channel) login
Diffstat (limited to 'include/reddav.php')
-rw-r--r--include/reddav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reddav.php b/include/reddav.php
index e6e066770..af79a0db1 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -752,7 +752,7 @@ class RedBasicAuth extends Sabre\DAV\Auth\Backend\AbstractBasic {
}
require_once('include/auth.php');
- $record = account_verify_password($email,$pass);
+ $record = account_verify_password($username,$password);
if($record && $record['account_default_channel']) {
$r = q("select * from channel where channel_account_id = %d and channel_id = %d limit 1",
intval($record['account_id']),