From 0fae8acdefa26c19429ffef218066050d1ae825e Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 30 Jan 2014 14:36:56 -0800 Subject: fix basic auth with account (not channel) login --- include/reddav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']), -- cgit v1.2.3