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);
if($conf['allowdebug'])
{
dbglog('---- DAVCAL authBackendDokuwiki.php init');
dbglog('checkPass called for username '.$username.' with result '.$ret);
}
return $ret;
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Jan 23, 6:34 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
905042
Default Alt Text
authBackendDokuwiki.php (600 B)

Event Timeline