diff options
author | Frederick Muriuki Muriithi | 2023-07-03 10:46:12 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-07-03 10:46:12 +0300 |
commit | 424a515120478998592663725d2d1186d36304f4 (patch) | |
tree | 0ab83cd5fee89c9db87620471b36f5f39b1f92c0 /gn3/templates | |
parent | 53d3a59c6f07f586a07438957869d834f36c4d11 (diff) | |
download | genenetwork3-424a515120478998592663725d2d1186d36304f4.tar.gz |
Enable deletion of OAuth2 clients.
Diffstat (limited to 'gn3/templates')
-rw-r--r-- | gn3/templates/admin/list-oauth2-clients.html | 9 |
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> |