summaryrefslogtreecommitdiffstats
path: root/kamailio-listusers-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'kamailio-listusers-html.lsp')
-rw-r--r--kamailio-listusers-html.lsp6
1 files changed, 4 insertions, 2 deletions
diff --git a/kamailio-listusers-html.lsp b/kamailio-listusers-html.lsp
index 0b7183f..c477fdb 100644
--- a/kamailio-listusers-html.lsp
+++ b/kamailio-listusers-html.lsp
@@ -34,6 +34,7 @@
<th>Action</th>
<% end %>
<th>User Name</th>
+ <th>Domain</th>
<th>Password</th>
</tr>
</thead><tbody>
@@ -42,14 +43,15 @@
<% if viewlibrary.check_permission("deleteuser") or viewlibrary.check_permission("updateuser") then %>
<td>
<% if viewlibrary.check_permission("updateuser") then %>
- <%= html.link{value = "updateuser?username=" .. user.username.."&redir="..page_info.orig_action, label="Update "} %>
+ <%= html.link{value = "updateuser?username="..user.username.."&domain="..user.domain.."&redir="..page_info.orig_action, label="Update "} %>
<% end %>
<% if viewlibrary.check_permission("deleteuser") then %>
- <%= html.link{value = "deleteuser?submit=true&username=" .. user.username, label="Delete "} %>
+ <%= html.link{value = "deleteuser?submit=true&username="..user.username.."&domain="..user.domain, label="Delete "} %>
<% end %>
</td>
<% end %>
<td><%= html.html_escape(user.username) %></td>
+ <td><%= html.html_escape(user.domain) %></td>
<% if viewlibrary.check_permission("updateuser") then %>
<td><%= html.html_escape(user.password) %></td>
<% else %>