mirror of
https://github.com/nextcloud/server.git
synced 2026-11-26 16:15:53 +01:00
When both servers start the shared secret exchange, the one with the greater token asks for the secret. Do this check in the GetSharedSecret job instead of the request handler, so the handler only checks the server and queues the job. Tokens are generated with 16 characters, so refuse anything longer than 64. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>