fix issue with removing account if it created some API Key
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
<th>Key</th>
|
||||
<th>Created</th>
|
||||
<th>Last Used</th>
|
||||
<th>Created By</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -63,7 +62,6 @@
|
||||
</td>
|
||||
<td>{{ api_key.created_at.strftime('%Y-%m-%d %H:%M:%S') }}</td>
|
||||
<td>{{ api_key.last_used.strftime('%Y-%m-%d %H:%M:%S') if api_key.last_used else 'Never' }}</td>
|
||||
<td>{{ api_key.user.username }}</td>
|
||||
<td>
|
||||
<form action="{{ url_for('auth.delete_company_api_key', company_id=company.id, key_id=api_key.id) }}" method="POST"
|
||||
style="display:inline" onsubmit="return confirm('Are you sure you want to delete this API key?');">
|
||||
|
||||
Reference in New Issue
Block a user