Skip to content

Commit dff2905

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 6dcd7d7 commit dff2905

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 DataResponse();
158158
}
159159

160160
$this->jobList->add(

0 commit comments

Comments
 (0)