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:
https://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:
…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!
- The topic ‘ERROR:Invalid key! with Recover Password shortcode’ is closed to new replies.