Mercurial Hosting > chat
diff src/private/tools/users.html.luan @ 114:d394aad4c3c1 default tip
minor
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 25 Nov 2025 22:24:21 -0700 |
| parents | 8c3b56bb0c83 |
| children |
line wrap: on
line diff
--- a/src/private/tools/users.html.luan Fri Nov 14 10:44:05 2025 -0700 +++ b/src/private/tools/users.html.luan Tue Nov 25 22:24:21 2025 -0700 @@ -5,6 +5,8 @@ local time_now = Time.now or error() local Table = require "luan:Table.luan" local sort = Table.sort or error() +local Html = require "luan:Html.luan" +local html_encode = Html.encode or error() local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Shared = require "site:/lib/Shared.luan" @@ -61,6 +63,8 @@ <th>ID</th> <th>name <small>(open incognito)</small)</th> <th>last seen</th> + <th>email</th> + <th>password</th> </tr> <% for _, user in ipairs(users) do @@ -76,6 +80,8 @@ <td><%= user.id %></td> <td><a href="<%=user.login_url()%>&spy"><%= user.name_html() %></a></td> <td><%= ago %></td> + <td><%= html_encode(user.email) %></td> + <td><%= html_encode(user.password) %></td> </tr> <% end
