Skip to content

Commit 5c58a21

Browse files
authored
Merge pull request #18333 from nextcloud/backport/18312/stable16
[stable16] Do not disable authentication apps
2 parents f632092 + 139e45f commit 5c58a21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/private/legacy/app.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ public static function loadApp(string $app) {
158158
throw $ex;
159159
}
160160
\OC::$server->getLogger()->logException($ex);
161-
if (!\OC::$server->getAppManager()->isShipped($app)) {
162-
// Only disable apps which are not shipped
161+
162+
if (!\OC::$server->getAppManager()->isShipped($app) && !self::isType($app, ['authentication'])) {
163+
// Only disable apps which are not shipped and that are not authentication apps
163164
\OC::$server->getAppManager()->disableApp($app, true);
164165
}
165166
}

0 commit comments

Comments
 (0)