mod_admin_telnet: Show s2s authentication method (probably) used
authorKim Alvefur <zash@zash.se>
Sat, 02 Nov 2019 16:02:37 +0100
changeset 10387 496248e48a1d
parent 10386 fcdc65bc6697
child 10390 cf93a951da37
mod_admin_telnet: Show s2s authentication method (probably) used
plugins/mod_admin_telnet.lua
--- a/plugins/mod_admin_telnet.lua	Sat Nov 02 15:43:56 2019 +0100
+++ b/plugins/mod_admin_telnet.lua	Sat Nov 02 16:02:37 2019 +0100
@@ -538,6 +538,12 @@
 	if session.cert_identity_status == "valid" then
 		line[#line+1] = "(authenticated)";
 	end
+	if session.dialback_key then
+		line[#line+1] = "(dialback)";
+	end
+	if session.external_auth then
+		line[#line+1] = "(SASL)";
+	end
 	if session.secure then
 		line[#line+1] = "(encrypted)";
 	end