[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm

raeburn raeburn at source.lon-capa.org
Wed Feb 19 12:12:52 EST 2014


raeburn		Wed Feb 19 17:12:52 2014 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - autocomplete set to "off" for text boxes in form used to request
    creation of a LON-CAPA account using an e-mail address as username.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.393 loncom/interface/loncreateuser.pm:1.394
--- loncom/interface/loncreateuser.pm:1.393	Sun Feb 16 15:38:52 2014
+++ loncom/interface/loncreateuser.pm	Wed Feb 19 17:12:52 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.393 2014/02/16 15:38:52 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.394 2014/02/19 17:12:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2236,11 +2236,11 @@
     if (($context eq 'selfcreate') && ($newuser eq 'email')) {
         $output .= &Apache::lonhtmlcommon::row_title($lt{'email'},undef,
                                                      'LC_oddrow_value')."\n".
-                   '<input type="text" name="uname" size="25" value="" />';
+                   '<input type="text" name="uname" size="25" value="" autocomplete="off" />';
         $rowcount ++;
         $output .= &Apache::lonhtmlcommon::row_closure(1);
-        my $upassone = '<input type="password" name="upass'.$now.'" size="10" />';
-        my $upasstwo = '<input type="password" name="upasscheck'.$now.'" size="10" />';
+        my $upassone = '<input type="password" name="upass'.$now.'" size="10" autocomplete="off" />';
+        my $upasstwo = '<input type="password" name="upasscheck'.$now.'" size="10" autocomplete="off" />';
         $output .= &Apache::lonhtmlcommon::row_title(&mt('Password'),
                                                     'LC_pick_box_title',
                                                     'LC_oddrow_value')."\n".
@@ -2266,7 +2266,7 @@
                 } else {
                     if ($context eq 'selfcreate') {
                         if ($canmodify{$item}) {
-                            $row .= '<input type="text" name="c'.$item.'" size="'.$textboxsize{$item}.'" value="" />';
+                            $row .= '<input type="text" name="c'.$item.'" size="'.$textboxsize{$item}.'" value="" autocomplete="off" />';
                             $editable ++;
                         } else {
                             $hiderow = 1;
@@ -2282,9 +2282,9 @@
                     } else {
                         if ($canmodify{$item}) {
                             if ($newuser eq 'email') {
-                                $row .= '<input type="text" name="'.$item.'" size="'.$textboxsize{$item}.'" value="" />';
+                                $row .= '<input type="text" name="'.$item.'" size="'.$textboxsize{$item}.'" value="" autocomplete="off" />';
                             } else {
-                                $row .= '<input type="text" name="c'.$item.'" size="'.$textboxsize{$item}.'" value="" />';
+                                $row .= '<input type="text" name="c'.$item.'" size="'.$textboxsize{$item}.'" value="" autocomplete="off" />';
                             }
                             $editable ++;
                         } else {




More information about the LON-CAPA-cvs mailing list