aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings/grants_oauth2.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/settings/grants_oauth2.tmpl')
-rw-r--r--templates/user/settings/grants_oauth2.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/grants_oauth2.tmpl b/templates/user/settings/grants_oauth2.tmpl
index cf24252ede..35a851ff36 100644
--- a/templates/user/settings/grants_oauth2.tmpl
+++ b/templates/user/settings/grants_oauth2.tmpl
@@ -9,7 +9,7 @@
{{range $grant := .Grants}}
<div class="item">
<div class="right floated content">
- <button class="ui red tiny button delete-button" id="revoke-gitea-oauth2-grant"
+ <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}}">
{{$.i18n.Tr "settings.revoke_key"}}