Software /
code /
prosody-modules
Diff
mod_client_management/mod_client_management.lua @ 5310:5806e05346b8
mod_client_management: Improve representation of authentication methods
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Apr 2023 15:24:49 +0100 |
parent | 5309:09656e2b4927 |
child | 5311:d4a0d2b5343a |
line wrap: on
line diff
--- a/mod_client_management/mod_client_management.lua Thu Apr 06 15:22:10 2023 +0100 +++ b/mod_client_management/mod_client_management.lua Thu Apr 06 15:24:49 2023 +0100 @@ -404,7 +404,7 @@ id = client.id; software = client.user_agent and client.user_agent.software; last_seen = os.date("%Y-%m-%d", client.last_seen); - auth_methods = array.collect(it.keys(client.active)):sort(); + auth_methods = array.collect(it.keys(client.active)):sort():concat(", "); })); end print(string.rep("-", self.session.width));