[java-idp-plugin-webauthn] branch main updated: Add simple 'are you sure' prompt to credential remove
Phil Smart
philip.smart at jisc.ac.uk
Fri Feb 16 13:04:42 UTC 2024
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=84ed4a96b2b783a92a7349303e4b35eedac6b415
The following commit(s) were added to refs/heads/main by this push:
new 84ed4a9 Add simple 'are you sure' prompt to credential remove
84ed4a9 is described below
commit 84ed4a96b2b783a92a7349303e4b35eedac6b415
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Feb 16 13:04:40 2024 +0000
Add simple 'are you sure' prompt to credential remove
---
.../net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
index c184e2f..bc8f980 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
@@ -113,7 +113,7 @@
<form id="deleteKeyForm" action="$flowExecutionUrl" method="post">
#parse("csrf/csrf.vm")
<input type="hidden" name="credentialId" value="$cred.credentialIdBase64Url"/>
- <button class="webauthn-table-button" id="removeButton" type="submit" name="_eventId_deleteKey">#springMessageText("idp.webauthn.register.credential.remove", "Remove")</button>
+ <button class="webauthn-table-button" onclick="return confirm('#springMessageText("idp.webauthn.register.credential.remove.confirm", "Are you sure")');" id="removeButton" type="submit" name="_eventId_deleteKey">#springMessageText("idp.webauthn.register.credential.remove", "Remove")</button>
</form>
</td>
</tr>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list