summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index b72858f0f..d199b88bc 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -689,7 +689,7 @@ end:
}
if (!ret) {
- rspamd_controller_send_error (entry, 403, "Unauthorized");
+ rspamd_controller_send_error (entry, 401, "Unauthorized");
}
return ret;