Support » Plugin: User Registration & User Profile - Profile Builder » ERROR:Invalid key! with Recover Password shortcode

  • Hi there

    Using the [wppb-recover-password] shortcode

    I’m getting an error if the username has special characters, e.g. is an email address.

    The URL sent to the user is along the lines of:

    http://mywebsite.co.uk/reset-password/?submitted=yes&loginName=memywebsite-co-uk&key=Fo15KnnndeZ0JdCSoY4l

    The loginName parameter is stripping out the @ and swapping the full stops for hyphens, so I’m getting an ‘Error! Invalid Key’ message when visiting the page.

    loginName=memywebsite-co-uk

    If I change this manually in the URL to:

    loginName=me@mywebsite.co.uk

    …the reset form appears without an error.

    If the username has no special characters or full stops, it works correctly.

    Again, your help’s appreciated!

    • This topic was modified 2 months, 3 weeks ago by  traumm.
    • This topic was modified 2 months, 3 weeks ago by  traumm.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hello there,

    This is a known issue that was supposed to be fixed in the last update.

    What version are you using?

    With the best of regards,
    Gabriel

    I’m having the same issue. Running 2.9.5.

    • This reply was modified 2 months, 2 weeks ago by  lpcampfire.
    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hello dears,

    We are not able to reproduce the issue.

    It appears to require further investigation.

    Please open a support ticket here.

    https://www.cozmoslabs.com/support/open-ticket/

    Thanks,
    Gabriel

    Sorry i haven’t seen this post and made a new tread on this bug.

    So if you want to reproduce the bug do this:

    Create a user with space inside (wordpress allow you to do that): ex. “User Name”
    then try to make password lost request
    you receive the email with a link to change it and in this link the space is converted with “-” so the result once you click on it is “The key is not valid”

    i tried to change “-” with “%20” in the url and worked fine.

    Please fix soon

    Thank you
    Regards
    Riccardo

    • This reply was modified 2 months, 2 weeks ago by  ricctram.
    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    All right, thanks, I have managed to reproduce it and I am forwarding it to the development team.

    Cheers!

    Thanks Gabriel. Just to confirm, I’m running the latest version: 2.9.5

    All the best!

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Yes, yes. I have tested it on the latest version, and indeed the bug is present. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.