aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/reddav.php')
-rw-r--r--include/reddav.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/reddav.php b/include/reddav.php
index daa7fd734..c5ef39097 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -745,6 +745,12 @@ class RedBasicAuth extends Sabre\DAV\Auth\Backend\AbstractBasic {
public $timezone;
protected function validateUserPass($username, $password) {
+
+ if(trim($password) === '+++') {
+ logger('reddav: validateUserPass: guest ' . $username);
+ return true;
+ }
+
require_once('include/auth.php');
$record = account_verify_password($email,$pass);
if($record && $record['account_default_channel']) {