I am trying to: create a new user with CRED user form with email, name and password
Link to a page where the issue can be seen: hidden link
I expected to see: The user registers just fine and everything works okay but when I log out and try to log back in with password, I should be able to login.
Instead, I got: The user registers just fine and everything works okay but when I log out and try to log back in with password, the system does not let me log in. It seems like the password is not saved.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Himanshu,
Thanks for getting in touch.
I had a look at your plugin list and didn't find anything that could be causing this issue. However I would double check on your form settings that it is not set to autogenerate the user's password.
Thanks,
Shane
Here is the code for the form. I don't see autogenerate anywhere
[creduserform]
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
[cred_field field='form_messages' class='alert alert-warning']
</div>
</div>
<div class="row">
<div class="form-group col-md-6">
<label>[cred_i18n name='first_name-label']First name[/cred_i18n]</label>
[cred_field field='first_name' class='form-control' output='bootstrap']
</div>
<div class="form-group col-md-6">
<label>[cred_i18n name='last_name-label']Last name[/cred_i18n]</label>
[cred_field field='last_name' class='form-control' output='bootstrap']
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<label>[cred_i18n name='user_email-label']Email[/cred_i18n]</label>
[cred_field field='user_email' class='form-control' output='bootstrap']
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<label>[cred_i18n name='user_pass-label']Password[/cred_i18n]</label>
[cred_field field='user_pass' class='form-control' output='bootstrap']
</div>
</div>
<div class="row">
<div class="col-md-12">
[cred_field field='form_submit' output='bootstrap' value='Get Started For Free' class='btn btn-primary btn-lg toolset-home-v2']
</div>
</div>
<br>
</div>
[/creduserform]
What could I be missing?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Himanshu,
Based on what I see here and a new form that I generated on my end, you're missing the repeat password field.
<label for="%%FORM_ID%%_user_pass2">[cred_i18n name='user_pass2-label']Repeat Password[/cred_i18n]</label>
[cred_field field='user_pass2' class='form-control' output='bootstrap']
Try adding this to your form and let me know if the password is being set correctly.
Thanks,
Shane
I don't want to add repeat password field as it it creates friction for the user.
What is the workaround?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Himanshu,
You've confirmed that the password field gets set when using the repeat password field ?
If so then you can simply rename the label and remove the first password field from the page.
Thanks,
Shane