Skip to content

Commit 705abc2

Browse files
committed
fix: don't tell the remote their token is lower
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 887dfeb commit 705abc2

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
@@ -109,7 +109,7 @@ public function requestSharedSecret(string $url, string $token): DataResponse {
109109
$this->logger->info(
110110
'remote server (' . $url . ') presented lower token. We will initiate the exchange of the shared secret.'
111111
);
112-
throw new OCSForbiddenException();
112+
return new DataResponse();
113113
}
114114

115115
$this->jobList->add(

0 commit comments

Comments
 (0)