Fix delete user URL

This commit is contained in:
Andrea Mistrali 2024-08-07 10:16:37 +02:00
parent a1dadcd709
commit 71a3413cbe
Signed by: andre
SSH Key Fingerprint: SHA256:/D780pZnuHMQ8xFII5lAtXWy8zdowtBhgWjwi88p+lI
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
</td> </td>
<td class="no-sort"> <td class="no-sort">
<span data-toggle="tooltip" data-placement="right" title="delete"> <span data-toggle="tooltip" data-placement="right" title="delete">
<a class="nodeco" href="/user/{{user.name}}/delete"> <a class="nodeco" href="{{ url_for('rest.deleteUser', userName=user.name) }}">
<i class="fas fa-trash"></i> <i class="fas fa-trash"></i>
</a> </a>
</span> </span>

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "hsman" name = "hsman"
version = "0.9.11" version = "0.9.12"
description = "Flask Admin webui for Headscale" description = "Flask Admin webui for Headscale"
authors = ["Andrea Mistrali <andrea@mistrali.pw>"] authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
license = "BSD" license = "BSD"