From: Vsevolod Stakhov Date: Wed, 17 Oct 2018 16:44:52 +0000 (+0100) Subject: [Fix] Treat normal password as enable password if there is no enable password X-Git-Tag: 1.8.2~193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1dba07a9baa1d38909a76fdf8f0f2f03fd2b7bde;p=thirdparty%2Frspamd.git [Fix] Treat normal password as enable password if there is no enable password --- diff --git a/src/controller.c b/src/controller.c index 88d1d0ed6f..e533c12cee 100644 --- a/src/controller.c +++ b/src/controller.c @@ -666,6 +666,14 @@ rspamd_controller_check_password (struct rspamd_http_connection_entry *entry, } else { check_enable = FALSE; + + if (check_normal) { + /* + * If no enable password is specified use normal password as + * enable password + */ + session->is_enable = TRUE; + } } } }