[java-idp-plugin-webauthn] 02/02: Cleanup username input view

Phil Smart philip.smart at jisc.ac.uk
Tue Feb 20 13:37:47 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=8df71bf4110414099bface3ffa0e00e7985e5cda

commit 8df71bf4110414099bface3ffa0e00e7985e5cda
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Feb 20 13:37:42 2024 +0000

    Cleanup username input view
---
 .../idp/plugin/authn/webauthn/views/webauthn-authn-username.vm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn-username.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn-username.vm
index 4c59a7c..a8f647b 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn-username.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn-username.vm
@@ -71,12 +71,6 @@ $response.addHeader("Content-Security-Policy", "script-src-elem 'nonce-$nonce'")
 
                 <blockquote>#springMessageText("idp.webauthn.passwordless.explain", "If you've enrolled a passkey or device/token for passwordless login,
                 please enter your username below and press the corresponding button.")</blockquote>
-
-
-                
-                #if ($eventId == "RequestUnsupported")
-                    <p class="output-message output--error">$encoder.encodeForHTML("#springMessageText('idp.duo.passwordless.unsupported', 'You have not enrolled a qualifying device for Passwordless use.')")</p>
-                #end
                         
                 <form name="username-entry" action="$flowExecutionUrl" method="post">
                     #parse("csrf/csrf.vm")
@@ -95,13 +89,13 @@ $response.addHeader("Content-Security-Policy", "script-src-elem 'nonce-$nonce'")
                     <div class="grid">
                         <div class="grid-item">
                             <button type="submit" name="_eventId_proceed"
-                                >#springMessageText("idp.webauthn.passwordless.proceed", "Login with Security Key")</button>
+                                >#springMessageText("idp.webauthn.passwordless.proceed", "Continue")</button>
                         </div>
                     </div>
                 </form>
     
                 <ul>
-                    <li><a href="#springMessageText('idp.webauthn.enrollment.url', '/idp/profile/admin/webauthn-registration')">#springMessageText("idp.duo.enrollment", "Enroll New Devices")</a></li>
+                    <li><a href="#springMessageText('idp.webauthn.enrollment.url', '/idp/profile/admin/webauthn-registration')">#springMessageText("idp.webauthn.enrollment", "Enroll New Devices")</a></li>
                     <li><a href="#springMessageText('idp.url.helpdesk', '#')">#springMessageText("idp.login.needHelp", "Need Help?")</a></li>
                 </ul>
             </section>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list