[java-idp-plugin-webauthn] branch main updated: JWEBAUTHN-23 - user.displayName is not used

Phil Smart philip.smart at jisc.ac.uk
Mon Sep 2 08:35:49 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=5309ef0bb5ff47b33427e0d78970091ba0c3fd64

The following commit(s) were added to refs/heads/main by this push:
     new 5309ef0  JWEBAUTHN-23 - user.displayName is not used
5309ef0 is described below

commit 5309ef0bb5ff47b33427e0d78970091ba0c3fd64
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Sep 2 09:35:47 2024 +0100

    JWEBAUTHN-23 - user.displayName is not used
    
     - The default registration view now shows displayName
     - The registration and management contexts are available to the views
    and so this can be customised as required
    
    https://shibboleth.atlassian.net/browse/JWEBAUTHN-23
---
 .../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 65bcd60..ef1136d 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
@@ -121,7 +121,7 @@ $response.addHeader("Content-Security-Policy", "default-src 'none'; style-src 's
                         <p id="error_message"></p>
                   </div>                
                   <div>
-                     <h1>#springMessageText("idp.webauthn.register.registered.keys","Registered keys for") '$encoder.encodeForHTML($webauthnRegContext.username)'</h1>
+                     <h1>#springMessageText("idp.webauthn.register.registered.keys","Registered keys for") '$encoder.encodeForHTML($webauthnRegContext.displayName)'</h1>
                      #if ($webauthnRegContext.existingCredentials)
                          <table>
                             <tr>

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


More information about the commits mailing list