diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-12-20 22:49:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 14:49:06 +0000 |
commit | ce840bb177fe343c5a366f739a65b9c0efe65c34 (patch) | |
tree | b47a1ab416ee6d9a02946fc28ac549601066d639 | |
parent | bcc13f3889b45a3063cf1140c56e9a3f14d9b8b8 (diff) | |
download | gitea-ce840bb177fe343c5a366f739a65b9c0efe65c34.tar.gz gitea-ce840bb177fe343c5a366f739a65b9c0efe65c34.zip |
Fix delete u2f keys modal (#18040)
-rw-r--r-- | templates/user/settings/security_u2f.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/security_u2f.tmpl b/templates/user/settings/security_u2f.tmpl index a2ff6c2212..97e76b6da2 100644 --- a/templates/user/settings/security_u2f.tmpl +++ b/templates/user/settings/security_u2f.tmpl @@ -7,7 +7,7 @@ {{range .U2FRegistrations}} <div class="item"> <div class="right floated content"> - <button class="ui red tiny button delete-button" id="delete-registration" data-url="{{$.Link}}/u2f/delete" data-id="{{.ID}}"> + <button class="ui red tiny button delete-button" data-modal-id="delete-registration" data-url="{{$.Link}}/u2f/delete" data-id="{{.ID}}"> {{$.i18n.Tr "settings.delete_key"}} </button> </div> |