Spaces:
Runtime error
Runtime error
Update app/templates/api_keys.html
Browse files
app/templates/api_keys.html
CHANGED
|
@@ -76,7 +76,7 @@
|
|
| 76 |
<input type="text" class="form-input" id="apiKey" value="{{ user.api_key }}" readonly>
|
| 77 |
<button class="btn primary-btn copy-btn" type="button" onclick="copyApiKey()">Copy</button>
|
| 78 |
</div>
|
| 79 |
-
<form method="POST" action="{{ url_for('auth.
|
| 80 |
<button class="btn secondary-btn">Regenerate API Key</button>
|
| 81 |
</form>
|
| 82 |
<p class="docs-link"><a href="{{ url_for('auth.docs') }}">📘 View API Documentation</a></p>
|
|
|
|
| 76 |
<input type="text" class="form-input" id="apiKey" value="{{ user.api_key }}" readonly>
|
| 77 |
<button class="btn primary-btn copy-btn" type="button" onclick="copyApiKey()">Copy</button>
|
| 78 |
</div>
|
| 79 |
+
<form method="POST" action="{{ url_for('auth.regenerate_api_key') }}" class="api-key-form">
|
| 80 |
<button class="btn secondary-btn">Regenerate API Key</button>
|
| 81 |
</form>
|
| 82 |
<p class="docs-link"><a href="{{ url_for('auth.docs') }}">📘 View API Documentation</a></p>
|