summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-11 08:35:30 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-11 08:35:50 +0100
commitd75ed3ac14a19eb3a771be80d2569aa009eacb8f (patch)
treecdc8494ec57a4209c9225d3165090781473a2a82 /src/controller.c
parent40cc8b670fac26f10f20026a8c75f42ca097a898 (diff)
downloadrspamd-d75ed3ac14a19eb3a771be80d2569aa009eacb8f.tar.gz
rspamd-d75ed3ac14a19eb3a771be80d2569aa009eacb8f.zip
[Fix] Another fix for the enable password
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 2fff89eb4..e695d86a4 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -619,6 +619,10 @@ rspamd_controller_check_password (struct rspamd_http_connection_entry *entry,
ret = rspamd_check_encrypted_password (ctx, password, check,
pbkdf, use_enable);
}
+
+ if (ret) {
+ check_enable = TRUE;
+ }
}
else {
msg_warn_session (