fix: Adjust error code

This commit is contained in:
Ginger
2026-06-29 09:35:51 -04:00
parent 32fb6f247a
commit aed8e7d769
+1 -1
View File
@@ -263,7 +263,7 @@ pub(crate) async fn deactivate_route(
let sender_user = identity.expect_sender_user()?;
if !services.config.allow_deactivation {
return Err!(Request(Unauthorized(
return Err!(Request(Forbidden(
"You may not deactivate your own account. Contact your server's administrator for \
assistance."
)));