Fix delete user URL
This commit is contained in:
parent
a1dadcd709
commit
71a3413cbe
|
@ -17,7 +17,7 @@
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a class="plain" href="{{ url_for('main.user', userName=user.name)}}">
|
<a class="plain" href="{{ url_for('main.user', userName=user.name) }}">
|
||||||
{{user.name}}
|
{{user.name}}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue