atwellpub / resend-welcome-email

WordPress plugin that helps quickly regenerate a new passwords & send a new welcome email to a user.
17 stars 14 forks source link

Refreshing page after 'resend action' causes action to fire twice #20

Open atwellpub opened 5 years ago

atwellpub commented 5 years ago

This action needs to be changed to an AJAX routine to prevent repeat sends on accidental refreshing.

afragen commented 4 years ago

Might just be able to check $_POST variable instead of $_GET variable. A page refresh should be a GET request not a POST request.