From: Vsevolod Stakhov Date: Fri, 6 Jan 2017 12:41:35 +0000 (+0000) Subject: [Feature] Send config id to the WebUI X-Git-Tag: 1.5.0~417 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7c62f28bbef9673564c69e088b8d9885e1de2d9b;p=rspamd.git [Feature] Send config id to the WebUI --- diff --git a/src/controller.c b/src/controller.c index 78c397c80..c5bfe17e4 100644 --- a/src/controller.c +++ b/src/controller.c @@ -690,6 +690,8 @@ rspamd_controller_handle_auth (struct rspamd_http_connection_entry *conn_ent, st->messages_learned), "learned", 0, false); ucl_object_insert_key (obj, ucl_object_frombool (!session->is_enable), "read_only", 0, false); + ucl_object_insert_key (obj, ucl_object_fromstring (session->ctx->cfg->checksum), + "config_id", 0, false); rspamd_controller_send_ucl (conn_ent, obj); ucl_object_unref (obj);