[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm

raeburn raeburn at source.lon-capa.org
Thu Feb 24 10:51:28 EST 2022


raeburn		Thu Feb 24 15:51:28 2022 EDT

  Modified files:              
    /loncom/auth	lonlogin.pm 
  Log:
  - Set focus to username field when /adm/login is landing page for SSO and
    non-SSO authentication, and user toggles to use non-SSO auth. 
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.194 loncom/auth/lonlogin.pm:1.195
--- loncom/auth/lonlogin.pm:1.194	Sat Jan 15 20:21:06 2022
+++ loncom/auth/lonlogin.pm	Thu Feb 24 15:51:28 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.194 2022/01/15 20:21:06 raeburn Exp $
+# $Id: lonlogin.pm,v 1.195 2022/02/24 15:51:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -659,6 +659,7 @@
             if (document.getElementById('LC_login_text')) {
                 document.getElementById('LC_login_text').innerHTML = '$samlnonsso';
             }
+            if ( document.client.uname ) { document.client.uname.focus(); }
             if (document.getElementById('LC_SSO_login')) {
                 document.getElementById('LC_SSO_login').style.display = 'none';
             }




More information about the LON-CAPA-cvs mailing list