[LON-CAPA-cvs] cvs: loncom /build make_domain_coordinator.pl
raeburn
raeburn at source.lon-capa.org
Thu Nov 17 09:35:22 EST 2011
raeburn Thu Nov 17 14:35:22 2011 EDT
Modified files:
/loncom/build make_domain_coordinator.pl
Log:
- Perform ASCII character check on correct scalar.
Index: loncom/build/make_domain_coordinator.pl
diff -u loncom/build/make_domain_coordinator.pl:1.20 loncom/build/make_domain_coordinator.pl:1.21
--- loncom/build/make_domain_coordinator.pl:1.20 Thu Nov 17 14:29:51 2011
+++ loncom/build/make_domain_coordinator.pl Thu Nov 17 14:35:22 2011
@@ -11,7 +11,7 @@
# 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 @@
&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".
More information about the LON-CAPA-cvs
mailing list