How to set up a password reset?

Hi everyone,

I’m quite new to the world of creating a website and so wix code seemed like a really great platform. I’ve created quite a few pages of my website and am turning my mind to a members-only section where members can access their own information and previously uploaded data.

However, one part of this members-only section I haven’t been able to resolve is the set up of a password reset function which members can use if they forget what their password is and can’t login. All websites I’ve ever used have this function, and so it would seem quite mandatory to have this ability.

Does anyone have the code or suggestions on how to set this up?

Thanks so much in advance for your responses. I really appreciate it.

Jason

2 Likes

Hey!

Do you refer to “Forgot password” link? Like shown below?

Adas,

 I just happened to come across this. I am actually curious how to set this up as well. Yes, to answer your question ─ I am referring to the "Forgot Password" link.

@c-web-dezign-service , doesn’t it come out of the box? I believe this is the default setup. Just make sure you’re viewing not at the signup page, but login page.

I need this as well. I’m creating a custom login page and a custom registration page that gathers phone number, company name etc. in addition to the out of the box email and password. I need to create a custom forgot password flow I assume since I’m not using the default setup any longer. Can someone provide some guidance?

Ryan any luck on this? Having the same issue.

@adas-bradauskas This is not a custom login this is the standard out of the box members forum which handicaps the flow of the custom site. I’m curious of the same as well. If i can’t create a password reset for my clients then WIX is seriously lacking. I wonder if it has to do with storage and encryption of passwords as I am finding out now by searching this how easily people seem to bypass into password protected wix sites…
Still I love what Wix is doing … has this (CUSTOM) “Forgot password” or password reset capability been resolved?

Thank you

Has anyone been able to find a resolution to this custom forgot/reset password or is there a way for the admin to reset for their site-users manually?
Thanks!

any luck?

any luck?

Guys unfortunately it’s currently not possible to have custom password page on WIX

https://www.wix.com/code/home/forum/community-feature-request/custom-forgot-password-page-email

if you want to load the generic Wix forgot password page then code something like this…

$w(‘#forgotPasswordButton’).onClick( function () {
wixUsers.promptForgotPassword();
})

Thanks so much for everyone’s responses to my post ages ago, and my sincerest apologies for the delay in responding.

Has anyone had any further luck resolving this password reset function for your websites, or tried the suggested generic reset above?

Jason

[@Jason Cheung] Mike’s proposal should work BUT the user cannot be logged in. (Sounds obvious but this means that you cannot test it in preview mode because you are always logged in in preview mode :-)). So while it may sound redundant it’s worthwhile testing

if (!wixUsers.currentUser.loggedIn) {
    wixUsers.promptForgotPassword();
}

Just to be sure. Also currently the only way a User can reset their password is to use promptForgotPassword(). So if you wanted to offer a change password capability you would ned to log the user out, promptChangePassword() and let them update the password before logging back in.

Hi everyone, I am quite new for WIX platform and learning it. Do we still need to use WIX’s bundle forgot password setup or there is a way to setup forgot password in customized way? Please help.

I am also struggling through this - my issue is that I am using a custom login page, and even if I utilize the default wixUsers.promptForgotPassword() flow, at the end of this flow when the user clicks the link on the email they were sent and enters the new password, they are taken to the Wix default login screen - I need a way to have it direct to my custom login page. Any way to do this? Otherwise the user is going to see two different login pages if they ever need to change their password - Ugh!

Same problem here. Is there any plan to support this in the near future > Wix ?

I agree – I have a custom login page, and need the Password Reset link on the email to take the User back to the custom login page (not the default one). Please just let us know if fixing this is in the Request queue for the near future, as this is a deal breaker for using Wix for my website. Thank you.

Yes, please do resolve this issue, our customers are facing this issue couple of times, and I couldn’t find any solution

And Wix developers - when you do address this please make it possible to also perform a password reset via back-end API. There are those of us that utilize our website to provide access via APIs for our users to an app on a mobile device (i.e. no browser needed on the mobile device).

If you can perform a custom password reset via the website, we ought to be able to do it via APIs as well!

I found a work around when site members forget their password . I deleted them from the site members(we still have their contact in the contact list). Asked them to sign up again with the new password, after their email verification, they could able to login. Hope this helps for someone who came across the same problem like me