easy-digital-downloads icon indicating copy to clipboard operation
easy-digital-downloads copied to clipboard

Build front-end "Forgot Password" form

Open shazahm1 opened this issue 9 years ago • 20 comments

I seem to get this regularly... users wishing to purchase a renewal or making another purchase who forget their password. On the login screen of the checkout page, there should be an option to get and/or reset the password.

I already have in very plain sight (on the main site nav) a "My Account:" page which has the forgot password link but I think it would be beneficial to have it on the checkout/login page too.

Thanks for your consideration of this enhancement request!

shazahm1 avatar Sep 24 '15 14:09 shazahm1

I agree. We should include one as part of the [edd_login] short code.

This was done recently in RCP: https://github.com/pippinsplugins/restrict-content-pro/pull/209

pippinsplugins avatar Sep 24 '15 15:09 pippinsplugins

:+1:

adampickering avatar Nov 12 '15 18:11 adampickering

Would be great if we could get this into 2.7 :) 👍

adampickering avatar Jun 08 '16 18:06 adampickering

@cklosowski this actually needs to go further than just adding a link to the checkout screen. I need a full, frontend reset password form.

pippinsplugins avatar Jan 06 '17 04:01 pippinsplugins

Ok, that wasn't part of his original statement: I already have in very plain sight (on the main site nav) a "My Account:" page which has the forgot password link but I think it would be beneficial to have it on the checkout/login page too.

That mentions the link. We can build out a full reset form if we desire that.

cklosowski avatar Jan 06 '17 04:01 cklosowski

See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/3827#issuecomment-142969419

pippinsplugins avatar Jan 06 '17 04:01 pippinsplugins

Just to be clear, we'll have to do this in two places.

The original request was for a password reset on the checkout page, which doesn't use [edd_login] but a hand built form for the login process.

So we need to build a forgot password form for:

  • [ ] [edd_login]
  • [ ] Checkout Login Form.

cklosowski avatar Jan 06 '17 04:01 cklosowski

:+1:

pippinsplugins avatar Jan 06 '17 19:01 pippinsplugins

After some discussions with the team, we're going to punt this to 2.8 in need for awesomemotive/easy-digital-downloads-pro#27...we just don't have the proper means to guarentee an endpoint to show this interface, like RCP does...yet :)

cklosowski avatar Jan 17 '17 17:01 cklosowski

:( On Tue, Jan 17, 2017 at 12:43 PM Chris Klosowski [email protected] wrote:

After some discussions with the team, we're going to punt this to 2.8 in need for awesomemotive/easy-digital-downloads-pro#27 https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5398...we just don't have the proper means to guarentee an endpoint to show this interface, like RCP does...yet :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/easydigitaldownloads/easy-digital-downloads/issues/3827#issuecomment-273242462, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtlGOCCbtNyzSR9lMpm7k3bAUTgazBZks5rTP20gaJpZM4GDJxp .

adampickering avatar Jan 17 '17 17:01 adampickering

Sorry @adampickering as I started working on it, we just don't have a spot we can guarentee will work on all sites, without significant changes to the current shortcodes, which will likely cause an uproar, since we'll be altering the front end for logged out users.

cklosowski avatar Jan 17 '17 17:01 cklosowski

That still has not happen - right?

Basilakis avatar Sep 05 '17 20:09 Basilakis

Correct.

pippinsplugins avatar Sep 05 '17 23:09 pippinsplugins

So after a year on it, do we have any update? :)

Basilakis avatar Jan 21 '18 16:01 Basilakis

@Basilakis not at this time as it's not a top priority. It's definitely important but the most important set of items right now is completing our migration to custom tables and revamping reports, which is approaching completion.

pippinsplugins avatar Jan 21 '18 16:01 pippinsplugins

I built this recently, works with EDD already. It uses mostly default WordPress functions with some slight alterations. Anyone is free to take a look and maybe include some code in EDD.

https://wordpress.org/plugins/frontend-reset-password/

rwebster85 avatar Jan 28 '18 22:01 rwebster85

Adding a vote for this. A built-in front end password reset system would be really beneficial IMO.

JiveDig avatar Feb 18 '19 15:02 JiveDig

Five years later still using backend pw resets? Bruh.

centralplexus avatar Dec 10 '20 17:12 centralplexus

If you just need checkout/login 'Forgot Password' you can use this code.

jQuery(document).ready(function( $ ){ // Your code in here if( $('.edd-checkout').length ){ setTimeout(function(){ $( '<p class="edd-lost-password"><a href="https://YourDomianName.com/wp-login.php?action=lostpassword&redirect_to=https%3A%2F%2FYourDomianName.com%2Fwp-login.php%3Fcheckemail%3Dconfirm%26edd_reset_password%3Dconfirm%26edd_redirect%3Dhttps%253A%252F%252FYourDomianName.com%252Fcheckout%252F">Forgot Password?</a></p>' ).insertAfter( "#edd_checkout_login_register #edd-user-login-submit" ); },1600) } });

Yagnik72 avatar Nov 12 '21 15:11 Yagnik72

This would be a nice thing to finally have as it would also allow the Auto Register extension to remove the plain password completly https://github.com/awesomemotive/edd-auto-register/issues/111

mihaijoldis avatar Jun 22 '22 10:06 mihaijoldis