--- loncom/build/make_domain_coordinator.pl 2011/11/17 14:29:51 1.20 +++ loncom/build/make_domain_coordinator.pl 2011/11/17 14:35:22 1.21 @@ -11,7 +11,7 @@ make_domain_coordinator.pl - Make a doma # The LearningOnline Network # make_domain_coordinator.pl - Make a domain coordinator on a system # -# $Id: make_domain_coordinator.pl,v 1.20 2011/11/17 14:29:51 raeburn Exp $ +# $Id: make_domain_coordinator.pl,v 1.21 2011/11/17 14:35:22 raeburn Exp $ # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). # @@ -206,7 +206,7 @@ while ((!$got_passwd) && ($trial < $maxt &mt('Please try again.')."\n"); } else { my $pbad=0; - foreach (split(//,$passwd)) {if ((ord($_)<32)||(ord($_)>126)){$pbad=1;}} + foreach (split(//,$firstpass)) {if ((ord($_)<32)||(ord($_)>126)){$pbad=1;}} if ($pbad) { print(&mt('Password contains invalid characters.')."\n". &mt('Password must consist of standard ASCII characters')."\n".