aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
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']),