aboutsummaryrefslogtreecommitdiff
path: root/gn3/templates/admin/list-oauth2-clients.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-03 10:46:12 +0300
committerFrederick Muriuki Muriithi2023-07-03 10:46:12 +0300
commit424a515120478998592663725d2d1186d36304f4 (patch)
tree0ab83cd5fee89c9db87620471b36f5f39b1f92c0 /gn3/templates/admin/list-oauth2-clients.html
parent53d3a59c6f07f586a07438957869d834f36c4d11 (diff)
downloadgenenetwork3-424a515120478998592663725d2d1186d36304f4.tar.gz
Enable deletion of OAuth2 clients.
Diffstat (limited to 'gn3/templates/admin/list-oauth2-clients.html')
-rw-r--r--gn3/templates/admin/list-oauth2-clients.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/gn3/templates/admin/list-oauth2-clients.html b/gn3/templates/admin/list-oauth2-clients.html
index 02f73d4..030c2e9 100644
--- a/gn3/templates/admin/list-oauth2-clients.html
+++ b/gn3/templates/admin/list-oauth2-clients.html
@@ -32,6 +32,15 @@
View/Edit
</a>
</td>
+ <td>
+ <form id="frm:delete:{{client.client_id}}"
+ action="{{url_for('oauth2.admin.delete_client')}}"
+ method="POST">
+ <input type="hidden" name="client_id" value="{{client.client_id}}" />
+ <input type="submit" value="Delete"
+ title"Delete client {{client.client_metadata.client_name}}" />
+ </form>
+ </td>
</tr>
{%else%}
<tr>