]> git.mxchange.org Git - friendica-addons.git/blobdiff - dav/SabreDAV/lib/Sabre/HTTP/BasicAuth.php
Notifications by E-Mail implemented
[friendica-addons.git] / dav / SabreDAV / lib / Sabre / HTTP / BasicAuth.php
index a747cc6a31bf134e2b409d4d39d002d12e38c6f9..f90ed24f5d80c8622a1d806607be31d2771cc1bd 100644 (file)
@@ -46,7 +46,7 @@ class Sabre_HTTP_BasicAuth extends Sabre_HTTP_AbstractAuth {
 
         if (strpos(strtolower($auth),'basic')!==0) return false;
 
-        return explode(':', base64_decode(substr($auth, 6)));
+        return explode(':', base64_decode(substr($auth, 6)),2);
 
     }