diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-10 14:43:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 14:43:15 +0100 |
commit | d66246cf94eb1a13af9200c3dc79bf2f81b3346e (patch) | |
tree | 2e1204582c0053bfdb8c7f27ead843f30285f222 /lib | |
parent | c9d77b7f7e6382af0aedfb8312042a340f0ac3b3 (diff) | |
parent | 47bc0cc8a8422f329dbf971efd9b6f8c9f202414 (diff) | |
download | nextcloud-server-d66246cf94eb1a13af9200c3dc79bf2f81b3346e.tar.gz nextcloud-server-d66246cf94eb1a13af9200c3dc79bf2f81b3346e.zip |
Merge pull request #18312 from nextcloud/fix/18249/do_not_disable_auth_apps
Do not disable authentication apps
Diffstat (limited to 'lib')
-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 98700056111..b20fd8543c8 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); } } |