--- loncom/interface/Attic/londropadd.pm	2003/08/25 14:31:20	1.83
+++ loncom/interface/Attic/londropadd.pm	2003/08/26 04:56:29	1.84
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to drop and add students in courses 
 #
-# $Id: londropadd.pm,v 1.83 2003/08/25 14:31:20 www Exp $
+# $Id: londropadd.pm,v 1.84 2003/08/26 04:56:29 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1681,7 +1681,7 @@ sub upfile_drop_add {
                              \$lname,\$gen,\$sec) {
                         $$_ =~ s/(\s+$|^\s+)//g;
                     }
-                    if ($password) {
+                    if ($password || $ENV{'form.login'} eq 'loc') {
                         &modifystudent($domain,$username,$cid,$sec,
                                        $desiredhost);
                         my $reply=&Apache::lonnet::modifystudent