Skip to content

Commit 11e4803

Browse files
authored
Merge pull request #37690 from nextcloud/backport/37680/stable25
[stable25] app type extended_authentication
2 parents ca80e7e + 20a45eb commit 11e4803

7 files changed

Lines changed: 7 additions & 1 deletion

File tree

lib/base.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,7 @@ public static function handleRequest() {
10181018

10191019
// Always load authentication apps
10201020
OC_App::loadApps(['authentication']);
1021+
OC_App::loadApps(['extended_authentication']);
10211022

10221023
// Load minimum set of apps
10231024
if (!\OCP\Util::needUpgrade()

lib/private/Updater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ protected function doCoreUpgrade(): void {
333333
*/
334334
protected function doAppUpgrade(): void {
335335
$apps = \OC_App::getEnabledApps();
336-
$priorityTypes = ['authentication', 'filesystem', 'logging'];
336+
$priorityTypes = ['authentication', 'extended_authentication', 'filesystem', 'logging'];
337337
$pseudoOtherType = 'other';
338338
$stacks = [$pseudoOtherType => []];
339339

ocs/v1.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
try {
5151
OC_App::loadApps(['session']);
5252
OC_App::loadApps(['authentication']);
53+
OC_App::loadApps(['extended_authentication']);
5354

5455
// load all apps to get all api routes properly setup
5556
// FIXME: this should ideally appear after handleLogin but will cause

public.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
// Load all required applications
6767
\OC::$REQUESTEDAPP = $app;
6868
OC_App::loadApps(['authentication']);
69+
OC_App::loadApps(['extended_authentication']);
6970
OC_App::loadApps(['filesystem', 'logging']);
7071

7172
if (!\OC::$server->getAppManager()->isInstalled($app)) {

remote.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ function resolveService($service) {
153153
// Load all required applications
154154
\OC::$REQUESTEDAPP = $app;
155155
OC_App::loadApps(['authentication']);
156+
OC_App::loadApps(['extended_authentication']);
156157
OC_App::loadApps(['filesystem', 'logging']);
157158

158159
switch ($app) {

resources/app-info-shipped.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@
340340
<xs:element name="prelogin" minOccurs="0" maxOccurs="1"/>
341341
<xs:element name="filesystem" minOccurs="0" maxOccurs="1"/>
342342
<xs:element name="authentication" minOccurs="0" maxOccurs="1"/>
343+
<xs:element name="extended_authentication" minOccurs="0" maxOccurs="1"/>
343344
<xs:element name="logging" minOccurs="0" maxOccurs="1"/>
344345
<xs:element name="dav" minOccurs="0" maxOccurs="1"/>
345346
<xs:element name="prevent_group_restriction" minOccurs="0"

resources/app-info.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@
336336
<xs:element name="prelogin" minOccurs="0" maxOccurs="1"/>
337337
<xs:element name="filesystem" minOccurs="0" maxOccurs="1"/>
338338
<xs:element name="authentication" minOccurs="0" maxOccurs="1"/>
339+
<xs:element name="extended_authentication" minOccurs="0" maxOccurs="1"/>
339340
<xs:element name="logging" minOccurs="0" maxOccurs="1"/>
340341
<xs:element name="dav" minOccurs="0" maxOccurs="1"/>
341342
<xs:element name="prevent_group_restriction" minOccurs="0"

0 commit comments

Comments
 (0)