[java-idp-plugin-duo] branch dev/JDUO-80 updated: Move secondary button back under original form.

Scott Cantor cantor.2 at osu.edu
Thu Jan 4 14:22:52 UTC 2024


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

scantor pushed a commit to branch dev/JDUO-80
in repository java-idp-plugin-duo.

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

The following commit(s) were added to refs/heads/dev/JDUO-80 by this push:
     new 7933edbf Move secondary button back under original form.
7933edbf is described below

commit 7933edbf864d0eab39f2f068b730c111d4724a07
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 4 09:22:50 2024 -0500

    Move secondary button back under original form.
---
 .../shibboleth/idp/plugin/authn/duo/views/passwordless.vm  | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

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 2eb98fb8..1c595b14 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
@@ -70,16 +70,6 @@
                 <blockquote>#springMessageText("idp.duo.passwordless.explain", "If you've enrolled a passkey or device/token for passwordless login,
                 please enter your username below and press the corresponding button. To bypass this option, just press the alternate button
                 to perform a traditional login.")</blockquote>
-
-                <form action="$flowExecutionUrl" method="post">
-                    #parse("csrf/csrf.vm")
-                    <div class="grid">
-                        <div class="grid-item">
-                            <button type="submit" name="_eventId_cancel"
-                                >#springMessageText("idp.duo.passwordless.cancel", "Login with Password")</button>
-                        </div>
-                    </div>
-                </form>
                     
                 #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>
@@ -102,6 +92,10 @@
                             <button type="submit" name="_eventId_proceed"
                                 >#springMessageText("idp.duo.passwordless.proceed", "Login with Passkey or Device")</button>
                         </div>
+                        <div class="grid-item">
+                            <button type="submit" name="_eventId_cancel"
+                                >#springMessageText("idp.duo.passwordless.cancel", "Login with Password")</button>
+                        </div>
                     </div>
                 </form>
     

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


More information about the commits mailing list