From 77295188fbec0561eed513a51af17512247ecd58 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sat, 11 Aug 2001 08:51:04 +0000 Subject: Fix for bug 94618: remove restrictions on valid characters in passwords. If crypt() takes it, why shouldn't we? Patch by Myk Melez r= justdave@syndicomm.com --- checksetup.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index d8414e6c3..14a58eee0 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1508,9 +1508,8 @@ _End_Of_SQL_ chomp $pass1; if(! $pass1 ) { print "\n\nIt's just plain stupid to not have a password. Try again!\n"; - } elsif ( $pass1 !~ /^[a-zA-Z0-9-_]{3,16}$/ ) { - print "The password must be 3-16 characters in length - and contain only letters, numbers, hyphens (-), and underlines (_)."; + } elsif ( $pass1 !~ /^.{3,16}$/ ) { + print "The password must be 3-16 characters in length."; } } print "\nPlease retype the password to verify: "; -- cgit v1.2.3-24-g4f1b