Support » Plugin: Participants Database » Login extension one-time password link not working?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Are you using the latest version of PDB Login? Should be 1.12

    If you want a PID that is over 9 characters, you need to change the datatype in your database, it is normally set to 9 characters as a VARCHAR(9) datatype. You need to use phpMyAdmin to change the number of characters allowed.

    Thread Starter cmerrick

    (@cmerrick)

    My PDB Login is version is 1.12; I’m also using PDB HTML5 Form Elements, Mailchimp Integration, and reCAPTCHA, which are all the current versions. The core plugin is 1.9.3.9, so it’s not quite up to date (1.9.3.11). The WP Core is also up to date.

    Thanks for the info on the datatype, I’ll see if I can get in there and up the character limit.

    Plugin Author xnau webdesign

    (@xnau)

    I’m guessing your need to update Participants Database to the latest version. I’m testing the one-time-use PID and it’s working as expected here.

    Thread Starter cmerrick

    (@cmerrick)

    I just updated the PD plugin and I’m seeing the same thing:
    1- fill out the participant form once, creating a password
    2- go to the login page and click the forgotten password link
    3- enter email address
    4- receive link in my with the private ID on the end
    5- click link, go to profile, change password and save
    6- repeat step 2 & 3
    7- receive the same link in my email, same ID on the end

    Is it possible that I’m just logged in the whole time? I’m not using cookies, but I also haven’t set up a manual logout option. I also haven’t gotten into the DB to up the character limit on the Private ID field.
    Many thanks for your time.

    Plugin Author xnau webdesign

    (@xnau)

    When a password reset link is requested, the PID is regenerated for that request. It don’t matter if you are logged in. After updating the record, the PID is regenerated again.

    You can see this at work in the debugging log if you turn plugin debugging on (in the plugin settings under the advanced tab).

    Does the new link you get in the email work to edit the record?

    Thread Starter cmerrick

    (@cmerrick)

    Each time I use the password reset link, I change the password so the record will be updated. But when I use the reset link again, I always get the same PID in the URL, and it does send me to the profile again.

    I turned on the debugging log and it shows the record being updated in between password reset requests (starts with Participants_Db::process_form storing record: UPDATE wp_participants_database SET ) but there’s nothing that shows a new PID is being generated?

    Thread Starter cmerrick

    (@cmerrick)

    The logs showed the same PID in both emails, so I tried re-installing the Login plugin from the original download. I also did one other thing: since I haven’t gotten into the DB yet, I changed the PID length setting from 16 to 9. I don’t know if it was reinstalling or shortening the PID length, but it’s working now, with a new PID for each request.

    Many thanks for your responses. Overall it’s a great plugin, and extremely user-friendly. I would definitely use PDB and the extensions again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Login extension one-time password link not working?’ is closed to new replies.