diff options
Diffstat (limited to 'templates/user/settings/grants_oauth2.tmpl')
-rw-r--r-- | templates/user/settings/grants_oauth2.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/user/settings/grants_oauth2.tmpl b/templates/user/settings/grants_oauth2.tmpl index 40432c729b..e67fd2d222 100644 --- a/templates/user/settings/grants_oauth2.tmpl +++ b/templates/user/settings/grants_oauth2.tmpl @@ -10,8 +10,7 @@ <div class="item"> <div class="right floated content"> <button class="ui red tiny button delete-button" data-modal-id="revoke-gitea-oauth2-grant" - data-url="{{AppSubUrl}}/user/settings/applications/oauth2/revoke" - data-id="{{$grant.ID}}"> + data-url="{{AppSubUrl}}/user/settings/applications/oauth2/{{$grant.ApplicationID}}/revoke/{{$grant.ID}}"> {{$.locale.Tr "settings.revoke_key"}} </button> </div> |