From 035bfea93c6bcc6176810b9668d2c16377851e75 Mon Sep 17 00:00:00 2001 From: Ginger Date: Wed, 20 May 2026 12:57:46 -0400 Subject: [PATCH] fix: Correct error code --- src/api/router/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/router/auth.rs b/src/api/router/auth.rs index 9360b0575..86704151a 100644 --- a/src/api/router/auth.rs +++ b/src/api/router/auth.rs @@ -91,7 +91,7 @@ impl CheckAuth for ServerSignatures { .moderation .is_remote_server_forbidden(&output.origin) { - return Err!(Request(Unauthorized( + return Err!(Request(Forbidden( "You are blocked from federating with this server." ))); }