Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
8fa85e5f
Unverified
Commit
8fa85e5f
authored
Oct 20, 2016
by
Thomas Müller
Browse files
No challenge within federated auth
parent
fd212c2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/federation/lib/DAV/FedAuth.php
View file @
8fa85e5f
...
...
@@ -22,6 +22,8 @@ namespace OCA\Federation\DAV;
use
OCA\Federation\DbHandler
;
use
Sabre\DAV\Auth\Backend\AbstractBasic
;
use
Sabre\HTTP\RequestInterface
;
use
Sabre\HTTP\ResponseInterface
;
class
FedAuth
extends
AbstractBasic
{
...
...
@@ -55,4 +57,10 @@ class FedAuth extends AbstractBasic {
protected
function
validateUserPass
(
$username
,
$password
)
{
return
$this
->
db
->
auth
(
$username
,
$password
);
}
/**
* @inheritdoc
*/
function
challenge
(
RequestInterface
$request
,
ResponseInterface
$response
)
{
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment