diff options
Diffstat (limited to 'rt/share/html/Elements/Login')
| -rwxr-xr-x | rt/share/html/Elements/Login | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rt/share/html/Elements/Login b/rt/share/html/Elements/Login index 5564df26f..cd38b29b1 100755 --- a/rt/share/html/Elements/Login +++ b/rt/share/html/Elements/Login @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -46,7 +46,7 @@ %# %# END BPS TAGGED BLOCK }}} % $m->callback( %ARGS, CallbackName => 'Header' ); -<& /Elements/Header, Title => loc('Login'), Focus => 'user', RichText => 0 &> +<& /Elements/Header, Title => loc('Login'), Focus => '#user', RichText => 0 &> <div id="body" class="login-body"> @@ -63,7 +63,7 @@ <& LoginRedirectWarning, %ARGS &> -% unless (RT->Config->Get('WebExternalAuth') and !RT->Config->Get('WebFallbackToInternalAuth')) { +% unless (RT->Config->Get('WebRemoteUserAuth') and !RT->Config->Get('WebFallbackToRTLogin')) { <form id="login" name="login" method="post" action="<% RT->Config->Get('WebPath') %>/NoAuth/Login.html"> <div class="input-row"> @@ -73,7 +73,7 @@ <div class="input-row"> <span class="label"><&|/l&>Password</&>:</span> - <span class="input"><input type="password" name="pass" autocomplete="off" /></span> + <span class="input"><input type="password" name="pass" <% RT->Config->Get('AllowLoginPasswordAutoComplete') ? '' : 'autocomplete="off"' | n %> /></span> </div> <input type="hidden" name="next" value="<% $next %>" /> @@ -97,6 +97,7 @@ jQuery(function(){ </form> % } </&> +<& /Elements/LoginHelp &> </div><!-- #login-box --> % $m->callback( %ARGS, CallbackName => 'AfterForm' ); </div><!-- #login-body --> |
