changeset 2992:5fd9462117cd

mod_query_client_ver: Restrict adhoc command to local admins
author Kim Alvefur <zash@zash.se>
date Wed, 04 Apr 2018 16:36:58 +0200
parents 9d205ec1fa00
children 1f8220f0c8bf
files mod_query_client_ver/mod_query_client_ver.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_query_client_ver/mod_query_client_ver.lua	Wed Apr 04 16:32:51 2018 +0200
+++ b/mod_query_client_ver/mod_query_client_ver.lua	Wed Apr 04 16:36:58 2018 +0200
@@ -66,5 +66,5 @@
 			end
 		end
 		return { info = "Ok, check your logs for results", status = "completed" }
-	end));
+	end, "admin"));