[owncloud-devel] Sabre and Apps
lukas at statuscode.ch
Mon Jun 15 19:37:11 GMT 2015
> On Jun 15, 2015, at 4:13 PM, Klaus Herberth <klaus at herberth.eu> wrote:
> Hi guys,
> I wrote a custom user backend , which authenticates again an other
> website. Everything works fine, if I login through the webinterface. But
> it will fail if I try caldav or webdav. I see in the log files, that
> owncloud tries to authenticate the user against the core user backend.
> Do you have any idea or reference, how I can get it work?
> I use this snippet to register my backend:
That looks fishy. Why do you clear the backends?
> OC_User::useBackend( "HIORG" );
That looks good again.
I tried your code and it looks for me like your info.xml types need to look as following:
(don’t forget to increment the version number as well so that this gets populated to the DB)
>  https://github.com/sualko/owncloud_user_hiorg
> Devel mailing list
> Devel at owncloud.org
More information about the Devel