changeset 5592:b43ff0302204

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.
author Kim Alvefur <zash@zash.se>
date Thu, 13 Jul 2023 23:24:23 +0200
parents c7e532ac6bf7
children 6d0574bfbf5d
files mod_client_management/mod_client_management.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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";