зеркало из https://github.com/nextcloud/server.git
app type extended_authentication
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Родитель
9edc3aa354
Коммит
fc29b0d1b7
|
@ -1027,6 +1027,7 @@ class OC {
|
|||
|
||||
// Always load authentication apps
|
||||
OC_App::loadApps(['authentication']);
|
||||
OC_App::loadApps(['extended_authentication']);
|
||||
|
||||
// Load minimum set of apps
|
||||
if (!\OCP\Util::needUpgrade()
|
||||
|
|
|
@ -331,7 +331,7 @@ class Updater extends BasicEmitter {
|
|||
*/
|
||||
protected function doAppUpgrade(): void {
|
||||
$apps = \OC_App::getEnabledApps();
|
||||
$priorityTypes = ['authentication', 'filesystem', 'logging'];
|
||||
$priorityTypes = ['authentication', 'extended_authentication', 'filesystem', 'logging'];
|
||||
$pseudoOtherType = 'other';
|
||||
$stacks = [$pseudoOtherType => []];
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
|||
try {
|
||||
OC_App::loadApps(['session']);
|
||||
OC_App::loadApps(['authentication']);
|
||||
OC_App::loadApps(['extended_authentication']);
|
||||
|
||||
// load all apps to get all api routes properly setup
|
||||
// FIXME: this should ideally appear after handleLogin but will cause
|
||||
|
|
|
@ -66,6 +66,7 @@ try {
|
|||
// Load all required applications
|
||||
\OC::$REQUESTEDAPP = $app;
|
||||
OC_App::loadApps(['authentication']);
|
||||
OC_App::loadApps(['extended_authentication']);
|
||||
OC_App::loadApps(['filesystem', 'logging']);
|
||||
|
||||
if (!\OC::$server->getAppManager()->isInstalled($app)) {
|
||||
|
|
|
@ -153,6 +153,7 @@ try {
|
|||
// Load all required applications
|
||||
\OC::$REQUESTEDAPP = $app;
|
||||
OC_App::loadApps(['authentication']);
|
||||
OC_App::loadApps(['extended_authentication']);
|
||||
OC_App::loadApps(['filesystem', 'logging']);
|
||||
|
||||
switch ($app) {
|
||||
|
|
|
@ -340,6 +340,7 @@
|
|||
<xs:element name="prelogin" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="filesystem" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="authentication" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="extended_authentication" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="logging" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="dav" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="prevent_group_restriction" minOccurs="0"
|
||||
|
|
|
@ -336,6 +336,7 @@
|
|||
<xs:element name="prelogin" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="filesystem" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="authentication" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="extended_authentication" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="logging" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="dav" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="prevent_group_restriction" minOccurs="0"
|
||||
|
|
Загрузка…
Ссылка в новой задаче