[java-idp-plugin-duo] branch main updated: Add device enrollment link example to default view.

Scott Cantor cantor.2 at osu.edu
Thu Jan 4 19:44:20 UTC 2024


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=4b1e955c08995a7c4925c00f6d73b4d806944a74

The following commit(s) were added to refs/heads/main by this push:
     new 4b1e955c Add device enrollment link example to default view.
4b1e955c is described below

commit 4b1e955c08995a7c4925c00f6d73b4d806944a74
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 4 14:44:18 2024 -0500

    Add device enrollment link example to default view.
---
 .../resources/net/shibboleth/idp/plugin/authn/duo/messages.properties  | 3 +++
 .../net/shibboleth/idp/plugin/authn/duo/views/passwordless.vm          | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/messages.properties b/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/messages.properties
index ebb51830..a4af41d0 100644
--- a/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/messages.properties
+++ b/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/messages.properties
@@ -16,3 +16,6 @@ idp.duo.passwordless.proceed = Login with Passkey or Device
 idp.duo.passwordless.cancel = Login with Password
 
 idp.duo.passwordless.unsupported = You have not enrolled a qualifying device for Passwordless use.
+
+idp.duo.enrollment = Enroll New Devices
+idp.duo.enrollment.url = #
diff --git a/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/views/passwordless.vm b/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/views/passwordless.vm
index 07ba6a28..457a1890 100644
--- a/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/views/passwordless.vm
+++ b/idp-duo-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/views/passwordless.vm
@@ -109,7 +109,8 @@ $response.addHeader("Content-Security-Policy", "script-src-attr 'unsafe-hashes'
                 </form>
     
                 <ul>
-                    <li><a href="#springMessageText("idp.url.helpdesk", '#')">#springMessageText("idp.login.needHelp", "Need Help?")</a></li>
+                    <li><a href="#springMessageText('idp.duo.enrollment.url', '#')">#springMessageText("idp.duo.enrollment", "Enroll New Devices")</a></li>
+                    <li><a href="#springMessageText('idp.url.helpdesk', '#')">#springMessageText("idp.login.needHelp", "Need Help?")</a></li>
                 </ul>
             </section>
         </main>

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


More information about the commits mailing list