Software / code / prosody
Comparison
plugins/mod_admin_telnet.lua @ 10383:496248e48a1d
mod_admin_telnet: Show s2s authentication method (probably) used
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 02 Nov 2019 16:02:37 +0100 |
| parent | 10310:b03065cd033a |
| child | 10424:e7d3fa49495f |
comparison
equal
deleted
inserted
replaced
| 10382:fcdc65bc6697 | 10383:496248e48a1d |
|---|---|
| 536 line[#line+1] = status.."("..priority..")"; | 536 line[#line+1] = status.."("..priority..")"; |
| 537 end | 537 end |
| 538 if session.cert_identity_status == "valid" then | 538 if session.cert_identity_status == "valid" then |
| 539 line[#line+1] = "(authenticated)"; | 539 line[#line+1] = "(authenticated)"; |
| 540 end | 540 end |
| 541 if session.dialback_key then | |
| 542 line[#line+1] = "(dialback)"; | |
| 543 end | |
| 544 if session.external_auth then | |
| 545 line[#line+1] = "(SASL)"; | |
| 546 end | |
| 541 if session.secure then | 547 if session.secure then |
| 542 line[#line+1] = "(encrypted)"; | 548 line[#line+1] = "(encrypted)"; |
| 543 end | 549 end |
| 544 if session.compressed then | 550 if session.compressed then |
| 545 line[#line+1] = "(compressed)"; | 551 line[#line+1] = "(compressed)"; |