…but what lets me puzzled is, that it worked on other owncloud
installations.
(Here is a running version 8.2, which does definitively not have this
problem)
owncloud != owncloud?
Kind regards
CorneliusAm Donnerstag, den 07.01.2016, 19:46 +0100 schrieb Cornelius Kölbel:
Very cool. Thanks you!
I just closed your pull request, since it does not make sense in the 2.8
branch.
As mentioned, please merge into master.Thanks a lot!
CorneliusAm Donnerstag, den 07.01.2016, 09:03 -0800 schrieb Sam Marsh:
Fixed it - woohoo.
Modified app.php to use:
if(OCP\App::isEnabled('user_privacyidea')) {
so it looks like:
<?php \OCP\App::registerAdmin('user_privacyidea', 'adminSettings'); OC::$CLASSPATH['OC_User_PRIVACYIDEA'] = 'apps/user_privacyidea/lib/otp_privacyidea.php'; if(OCP\App::isEnabled('user_privacyidea')) { OCP\Util::writeLog('user_privacyidea', 'privacyIDEA is enabled', OCP\Util::DEBUG); $usedBackends = OC_User::getUsedBackends(); OC_User::clearBackends(); $piBackend = new OC_User_PRIVACYIDEA(); // register all previously used backend $piBackend->registerBackends($usedBackends); // register our own user backend OC_User::useBackend($piBackend); } else { OCP\Util::writeLog('user_privacyidea', 'privacyIDEA is disabled: '.$enabled, OCP\Util::DEBUG); }
–
You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/7b03d7b7-969f-496d-ac51-7dc5b659f801%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.–
Cornelius Kölbel
@cornelinux
+49 151 2960 1417NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel
–
Cornelius Kölbel
@cornelinux
+49 151 2960 1417
NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798
Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel
signature.asc (836 Bytes)