summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-11-05 14:22:16 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-11-05 14:22:16 +0100
commit6fba4ba87d5a16eb61337062cd7a6b9fa51f7682 (patch)
treea8f6775e22bbfadc93e8dd17cf5e1c46d0f1fef5 /apps
parent01b0e9b133279ec6c68e7fca6c8ae35c35f82941 (diff)
downloadnextcloud-server-6fba4ba87d5a16eb61337062cd7a6b9fa51f7682.tar.gz
nextcloud-server-6fba4ba87d5a16eb61337062cd7a6b9fa51f7682.zip
fix the webdavauth app
Diffstat (limited to 'apps')
-rwxr-xr-xapps/user_webdavauth/appinfo/info.xml6
-rw-r--r--apps/user_webdavauth/appinfo/version1
-rwxr-xr-xapps/user_webdavauth/user_webdavauth.php5
3 files changed, 8 insertions, 4 deletions
diff --git a/apps/user_webdavauth/appinfo/info.xml b/apps/user_webdavauth/appinfo/info.xml
index 9a8027daee6..0d9f529ed1b 100755
--- a/apps/user_webdavauth/appinfo/info.xml
+++ b/apps/user_webdavauth/appinfo/info.xml
@@ -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
index 00000000000..a6bbdb5ff48
--- /dev/null
+++ b/apps/user_webdavauth/appinfo/version
@@ -0,0 +1 @@
+1.1.0.0
diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php
index 2af8e9f103d..0b0be7c2fa1 100755
--- a/apps/user_webdavauth/user_webdavauth.php
+++ b/apps/user_webdavauth/user_webdavauth.php
@@ -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
*/