[Rt-commit] rt branch, 4.4/login-password-auto-complete, created. rt-4.2.3-83-g39d7c53

Wallace Reis wreis at bestpractical.com
Tue Apr 8 23:11:32 EDT 2014


The branch, 4.4/login-password-auto-complete has been created
        at  39d7c53960f137c230df9a7c0a02b779e7332bae (commit)

- Log -----------------------------------------------------------------
commit 39d7c53960f137c230df9a7c0a02b779e7332bae
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Wed Apr 9 00:07:17 2014 -0300

    I#29071: Allow auto-completion of passwords
    
    ...as default for all logins (in case browser can do that and has the
    appropriate setting enabled). This remove the optional feature on 4.2
    introduced in 281f39c2e.

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index fc8871b..3772ba2 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1857,16 +1857,6 @@ It defaults to on.  Set this to 0 to disable it.
 
 Set($QuoteFolding, 1);
 
-=item C<$AllowLoginPasswordAutoComplete>
-
-Allow browsers to remember the user's password on login (in case the
-browser can do so, and has the appropriate setting enabled). Defaults
-to false.
-
-=cut
-
-Set($AllowLoginPasswordAutoComplete, 0);
-
 =back
 
 
diff --git a/share/html/Elements/Login b/share/html/Elements/Login
index b3d900c..44596bf 100644
--- a/share/html/Elements/Login
+++ b/share/html/Elements/Login
@@ -73,7 +73,7 @@
 
 <div class="input-row">
     <span class="label"><&|/l&>Password</&>:</span>
-    <span class="input"><input type="password" name="pass" <% RT->Config->Get('AllowLoginPasswordAutoComplete') ? '' : 'autocomplete="off"' | n %> /></span>
+    <span class="input"><input type="password" name="pass" %> /></span>
 </div>
 
 <input type="hidden" name="next" value="<% $next %>" />
diff --git a/t/web/login.t b/t/web/login.t
index 4b3620d..862782a 100644
--- a/t/web/login.t
+++ b/t/web/login.t
@@ -3,8 +3,6 @@ use warnings;
 
 use RT::Test;
 
-RT::Config->Set(AllowLoginPasswordAutoComplete => 1);
-
 my ( $baseurl, $m ) = RT::Test->started_ok;
 
 my $ticket = RT::Test->create_ticket(

-----------------------------------------------------------------------


More information about the rt-commit mailing list