diff options
-rw-r--r-- | lib/private/legacy/app.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 0dcbadcd083..a2ffc483d39 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); } } |