Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1880071
authBackendDokuwiki.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
600 B
Subscribers
None
authBackendDokuwiki.php
View Options
<?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
Details
Attached
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)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment