]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Another fix for the enable password
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 11 Oct 2022 07:35:30 +0000 (08:35 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 11 Oct 2022 07:35:50 +0000 (08:35 +0100)
src/controller.c

index 2fff89eb4849c4ceca468fcc1b4d5783a88140ce..e695d86a4477ad69160a26adabaeace46adba9a9 100644 (file)
@@ -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 (