Disable 'Confirm Password' on Registration Form
Permalink
Hi,
Is it possible to disable the 'Confirm Password' function on the public Registration Form? I can hide the field, but the function still runs of course.
Alternatively, is there a way of hiding the field with:
... then somehow auto-populate the hidden field; duplicating the password entered in the 'uPassword' field?
This would then (I'm guessing) allow registration. The problem I see is that inherently, the content within Password fields can't be copied.
Many thanks community. This is a request from a customer.
Russ
Is it possible to disable the 'Confirm Password' function on the public Registration Form? I can hide the field, but the function still runs of course.
Alternatively, is there a way of hiding the field with:
<?php echo $form->hidden('uPasswordConfirm'); ?>
... then somehow auto-populate the hidden field; duplicating the password entered in the 'uPassword' field?
This would then (I'm guessing) allow registration. The problem I see is that inherently, the content within Password fields can't be copied.
Many thanks community. This is a request from a customer.
Russ
Anyhow, you can remove it by doing this:
Copy the method "do_register" from /core/controllers/single_pages/register.php to /controllers/single_pages/register.php and comment the lines 111 - 115 (in c5632) or do a search on "$passwordConfirm".
Also remove the uPasswordConfirm fields from /single_pages/register.php.