Page MenuHomePhabricator

authBackendDokuwiki.php
No OneTemporary

authBackendDokuwiki.php

<?php
/**
* DokuWiki SabreDAV Auth Backend
*
* Check a user ID / password combo against DokuWiki's auth system
*/
class DokuWikiSabreAuthBackend extends Sabre\DAV\Auth\Backend\AbstractBasic
{
protected function validateUserPass($username, $password)
{
global $auth;
global $conf;
$ret = $auth->checkPass($username, $password);
dbglog('---- DAVCAL authBackendDokuwiki.php init');
dbglog('checkPass called for username '.$username.' with result '.$ret);
return $ret;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 23, 8:53 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
643222
Default Alt Text
authBackendDokuwiki.php (540 B)

Event Timeline