--- loncom/auth/lonlogin.pm 2022/01/15 20:21:06 1.194 +++ loncom/auth/lonlogin.pm 2022/02/24 15:51:28 1.195 @@ -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 @@ function toggleLClogin() { 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'; }