mod_client_management: Include the client id in table in shell command
authorKim Alvefur <zash@zash.se>
Thu, 13 Jul 2023 23:24:23 +0200
changeset 5596 b43ff0302204
parent 5595 c7e532ac6bf7
child 5597 6d0574bfbf5d
mod_client_management: Include the client id in table in shell command Since this is the identifier used when revoking clients it is useful to show it.
mod_client_management/mod_client_management.lua
--- a/mod_client_management/mod_client_management.lua	Wed Jul 12 15:47:20 2023 +0200
+++ b/mod_client_management/mod_client_management.lua	Thu Jul 13 23:24:23 2023 +0200
@@ -420,6 +420,7 @@
 		end
 
 		local colspec = {
+			{ title = "ID"; key = "id"; width = math.max(#"client/", #"grant/") + #id.short() };
 			{
 				title = "Software";
 				key = "user_agent";