[quote=monemran]yes...because Jcow did not check password is empty or not..it is a bug..
You can overcome this by this code. go to memeber.php and locate singup() function.
[code]
if (!$_POST['email'] || !$_POST['fullname'] || !$_POST['username']) {
$errors[] = t('Please fill in all the required blanks');
}
[/code]
should be change to
[code]
if (!$_POST['email'] || !$_POST['fullname'] || !$_POST['username'] || !$_POST['password']) {
$errors[] = t('Please fill in all the required blanks');
}
[/code][/quote]
This omission is still present in the version 4.2.1, but I see there has been a modification of the user files. The file I modified to correct the issue was:
jcow/includes/libs/member.module.php Around line 610
[code] if (!$_POST['email'] || !$_POST['fullname'] || !$_POST['username'] || !$_POST['password']) {
$errors[] = t('Please fill in all the required blanks');[/code]
Same fix as monemram explained in original post. |