]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix the webdavauth app
authorFrank Karlitschek <frank@owncloud.org>
Mon, 5 Nov 2012 13:22:16 +0000 (14:22 +0100)
committerFrank Karlitschek <frank@owncloud.org>
Mon, 5 Nov 2012 13:22:16 +0000 (14:22 +0100)
apps/user_webdavauth/appinfo/info.xml
apps/user_webdavauth/appinfo/version [new file with mode: 0644]
apps/user_webdavauth/user_webdavauth.php

index 9a8027daee68748ce35375775b9cfa81d1c53691..0d9f529ed1b63ef62e5d2ae3122891af7022c2fd 100755 (executable)
@@ -2,10 +2,12 @@
 <info>
        <id>user_webdavauth</id>
        <name>WebDAV user backend</name>
-       <description>Authenticate Users by a WebDAV call</description>
-       <version>1.0</version>
+       <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>
        <licence>AGPL</licence>
        <author>Frank Karlitschek</author>
        <require>4.9</require>
        <shipped>true</shipped>
+       <types>
+               <authentication/>
+       </types>
 </info>
diff --git a/apps/user_webdavauth/appinfo/version b/apps/user_webdavauth/appinfo/version
new file mode 100644 (file)
index 0000000..a6bbdb5
--- /dev/null
@@ -0,0 +1 @@
+1.1.0.0
index 2af8e9f103dd6437cf5140d39cf1e996ef106d65..0b0be7c2fa1a9b42d31193094b984cba9fb9e937 100755 (executable)
@@ -67,10 +67,11 @@ 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
        */
-       public function userExists( $uid ) {
-               return false;
+       public function userExists( $uid ){
+               return true;
        }
 
+
        /*
        * we don´t know the users so all we can do it return an empty array here
        */