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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Fri, 22 Feb 2008 05:05:58 -0000


raeburn		Fri Feb 22 00:05:58 2008 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  Bug 5640.
  auth_check() javascript function was reporting a javascript error when a DC was adding a user role for a user in a different domain because the login form element was absent.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.234 loncom/interface/loncreateuser.pm:1.235
--- loncom/interface/loncreateuser.pm:1.234	Sun Jan 20 20:45:04 2008
+++ loncom/interface/loncreateuser.pm	Fri Feb 22 00:05:57 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.234 2008/01/21 01:45:04 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.235 2008/02/22 05:05:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1321,6 +1321,7 @@
                 $outcome .= <<ENDNOPRIV;
 <h3>$lt{'ccld'}</h3>
 $lt{'yodo'} $lt{'ifch'}: $ccdomain
+<input type="hidden" name="login" value="nochange" />
 ENDNOPRIV
             }
         }