Allow changing username and password in settings; admin can delete duplicate accounts.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -39,7 +39,15 @@
|
||||
<button class="btn secondary" style="margin-top:6px" type="submit">保存</button>
|
||||
</form>
|
||||
</td>
|
||||
<td>#{{ a.id }}</td>
|
||||
<td>
|
||||
#{{ a.id }}
|
||||
{% if can_create %}
|
||||
<form method="post" action="{{ url_for('accounts_delete', aid=a.id) }}" style="margin-top:8px"
|
||||
onsubmit="return confirm('确认删除账户 #{{ a.id }} {{ a.name }}?');">
|
||||
<button class="btn secondary" type="submit">删除</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user