Skip Navigation

[Resolved] Password not saved on registration

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Shane 1 year, 7 months ago.

Assisted by: Shane.

Author
Posts
#2447769

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.

#2448029

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

#2448087

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?

#2448117

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

#2448127

I don't want to add repeat password field as it it creates friction for the user.

What is the workaround?

#2448133

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

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.