Skip to content

Commit fe2e0a5

Browse files
Merge pull request #37680 from nextcloud/enh/noid/add-app-type-extended-authentication
app type extended_authentication
2 parents 7300017 + fc29b0d commit fe2e0a5

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

lib/base.php

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

10281028
// Always load authentication apps
10291029
OC_App::loadApps(['authentication']);
1030+
OC_App::loadApps(['extended_authentication']);
10301031

10311032
// Load minimum set of apps
10321033
if (!\OCP\Util::needUpgrade()

lib/private/Updater.php

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

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)