aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 88d1d0ed6..e533c12ce 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;
+ }
}
}
}