fix the webdavauth app

This commit is contained in:
Frank Karlitschek 2012-11-05 14:22:16 +01:00
parent 01b0e9b133
commit 6fba4ba87d
3 changed files with 8 additions and 4 deletions

View File

@ -2,10 +2,12 @@
<info> <info>
<id>user_webdavauth</id> <id>user_webdavauth</id>
<name>WebDAV user backend</name> <name>WebDAV user backend</name>
<description>Authenticate Users by a WebDAV call</description> <description>Authenticate users by a WebDAV call. You can use any WebDAV server, ownCloud server or other webserver to authenticate. It should return http 200 for right credentials and http 401 for wrong ones.</description>
<version>1.0</version>
<licence>AGPL</licence> <licence>AGPL</licence>
<author>Frank Karlitschek</author> <author>Frank Karlitschek</author>
<require>4.9</require> <require>4.9</require>
<shipped>true</shipped> <shipped>true</shipped>
<types>
<authentication/>
</types>
</info> </info>

View File

@ -0,0 +1 @@
1.1.0.0

View File

@ -68,9 +68,10 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend {
* we don´t know if a user exists without the password. so we have to return false all the time * we don´t know if a user exists without the password. so we have to return false all the time
*/ */
public function userExists( $uid ){ public function userExists( $uid ){
return false; return true;
} }
/* /*
* we don´t know the users so all we can do it return an empty array here * we don´t know the users so all we can do it return an empty array here
*/ */