Skip to content

Commit 535d85a

Browse files
authored
Merge pull request #60585 from nextcloud/backport/60547/stable22
[stable22] fix: don't tell the remote their token is lower
2 parents 8d56765 + 8e9c0e5 commit 535d85a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/federation/lib/Controller/OCSAuthAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function requestSharedSecret($url, $token) {
154154
'remote server (' . $url . ') presented lower token. We will initiate the exchange of the shared secret.',
155155
['app' => 'federation']
156156
);
157-
throw new OCSForbiddenException();
157+
return new Http\DataResponse();
158158
}
159159

160160
$this->jobList->add(

0 commit comments

Comments
 (0)