diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 0dcbadcd08..a2ffc483d3 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -158,8 +158,9 @@ class OC_App { throw $ex; } \OC::$server->getLogger()->logException($ex); - if (!\OC::$server->getAppManager()->isShipped($app)) { - // Only disable apps which are not shipped + + if (!\OC::$server->getAppManager()->isShipped($app) && !self::isType($app, ['authentication'])) { + // Only disable apps which are not shipped and that are not authentication apps \OC::$server->getAppManager()->disableApp($app, true); } }