commit d75ed3a: [Fix] Another fix for the enable password

Vsevolod Stakhov vsevolod at rspamd.com
Tue Oct 11 07:42:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-10-11 08:35:30 +0100
URL: https://github.com/rspamd/rspamd/commit/d75ed3ac14a19eb3a771be80d2569aa009eacb8f

[Fix] Another fix for the enable password

---
 src/controller.c | 4 ++++
 1 file changed, 4 insertions(+)

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 (


More information about the Commits mailing list