Merge pull request #60582 from nextcloud/backport/60547/stable25
Some checks failed
Lint eslint / eslint (push) Has been cancelled
Node / versions (push) Has been cancelled
Node / node (push) Has been cancelled
Psalm show github / Psalm (push) Has been cancelled
Psalm Security Analysis / Psalm (push) Has been cancelled
S3 primary storage / php8.0-objectstore-minio (push) Has been cancelled
S3 primary storage / php8.0-objectstore_multibucket-minio (push) Has been cancelled
Node / test (push) Has been cancelled
Node / jsunit (push) Has been cancelled
Node / handlebars (push) Has been cancelled
S3 primary storage / s3-primary-summary (push) Has been cancelled

[stable25] fix: don't tell the remote their token is lower
This commit is contained in:
Stephan Orbaugh 2026-06-10 16:10:32 +02:00 committed by GitHub
commit 26e674d22b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +118,7 @@ class OCSAuthAPIController extends OCSController {
'remote server (' . $url . ') presented lower token. We will initiate the exchange of the shared secret.',
['app' => 'federation']
);
throw new OCSForbiddenException();
return new DataResponse();
}
$this->jobList->add(