Skip to content

Commit 686cb27

Browse files
icewind1991backportbot[bot]
authored andcommitted
fix: don't tell the remote their token is lower
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 2c21d75 commit 686cb27

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
@@ -110,7 +110,7 @@ public function requestSharedSecret(string $url, string $token): DataResponse {
110110
'remote server (' . $url . ') presented lower token. We will initiate the exchange of the shared secret.',
111111
['app' => 'federation']
112112
);
113-
throw new OCSForbiddenException();
113+
return new DataResponse();
114114
}
115115

116116
$this->jobList->add(

0 commit comments

Comments
 (0)