Problem solved!
I had a filter hooked onto random_password
filter to generate passwords with custom rules and get_password_reset_key
uses the function wp_generate_password
to generate the key, and that is why I was getting the behavior I was getting. Allz I had to do was to remove my filter from it, and bada bing bada boom, it works.
Related Posts:
- How do I create a password reset link?
- User defined password at registration – registration email sends auto generated pass
- Password field (and confirmation) showing up twice on registration
- How can I find users that didn’t set a password?
- Is there a maximum length to user passwords?
- Disable password limitations
- How to show password fields on registration form w/o plugins
- Send a password to a user who has just registered for a member area
- WordPress doesn’t send a password (but only a username) after new user registration
- WordPress not sending registration mail? (works on ‘lost password’)
- Custom user creation and auto login problem
- Is it possible to remove username field from the registration page? If so, how?
- users table – user_name vs. nicename
- Disable user registration password email
- How do I require authorization / login to view a specific set of posts / pages?
- Google Apps login in wordpress
- Can I hook into user registration *before* a user is created?
- How can I be certain that a user has verified their email after registration?
- WordPress auto login after registration not working
- Placeholder text for registration form
- Use the user_activation_key for other purposes
- How to limit user registration to a specific set of domains?
- Stop spam users from registering without disabling user registration?
- How do I create a user using the new JSON api in 4.7?
- How to let user set password on registration
- How to check if the user registration is allowed/active?
- how to disable user confirmation from administration?
- Why do generated passwords start/end with spaces?
- How to prevent spam users registering even with registration disabled
- Custom registration form page/template
- Insert “New User” and update/set meta data at once
- Send automatic email to user after wp_create_user
- Mail isn’t sent after local site registration
- How to prevent certain usernames from being registered?
- How to disable or protect against disposable email accounts?
- How to customise wp-login.php only for users who are setting a password for the first time?
- Changing username after registration to get around the issue of having duplicate emails?
- Registration key
- Authenticate user using Hashed Password in MySQL Query and C#
- Advice on setting up a site with front end registration
- How to add a description to the user name input field in the registration form?
- Creating a Closed WordPress Community Using Referral Codes
- How to add a checkbox to registration and user profile?
- How to redirect action=register link on the lostpassword page to a different link?
- Function like is_registration_page to check if current page is registration page
- wp_create_user hook
- Payment on Registration?
- White spaces in username give 404 on author page
- WordPress members-only page with link visible only to members
- How to increase password requirements for registration [closed]
- Can user_register output the password?
- Is there any good tutorial to write custom login, registration and password recovery forms? [closed]
- auto assign sequence base username while registration
- Problem with logging in WP users automatically
- How to disable user registration for the default subscriber user role?
- How do I show errors after validation with a custom form frontend?
- Is it possible a one click user registration with Facebook or Twitter (or other Social Networks)?
- Registered but Anonymous comments
- Get plain password on register
- How to allow more than one registered user to have the same email?
- How to get the ID of the currently logged in user?
- Send custom signup approval email to different Administrators selectively
- Registering without e-mail adress!
- Batch users creation
- After e-junkie payment, send a http post to register user automatically?
- Checked checkbox?
- Set user password after creating user
- Email confirmation in user registration form without a plugin
- How to add additional information to a user on user creation?
- On user registration, if welcome mail sent, add post with new user as author
- How Authentication in wordpress works? wp_authenticate_username_password()
- How to allow wordpress to create username with symbols like +
- How to bypass the username as a required field in registration and just use email address instead?
- Does the user_register change in multisite?
- Registration options and approvals
- How do I get WordPress login to ignore the password input if a particular username is used?
- user activation email doesn’t work
- Which hook should I use to capture $_POST(‘password’) via profile update and password reset
- Where are people registering on my website?
- How to disallow user to register with a specific word in the username?
- How can I have user registration verify a whether a new user is listed in a table of pre-approved users?
- How to stop WordPress emailing a password
- Mobile User Registration
- Change User Registration
- Conditionally registering users
- WordPress Register Form
- On multisite, plugins are disabled prematurely when viewing the /wp-activate.php page file
- Correct passwords keep appearing as incorrect
- Creating custom registration and login link in wordpress
- Adding register & login in WordPress website
- Adding register & login at top right corner
- Can i add password field into my wp registration form?
- Backend user creation form with additional language field
- Restrict certain character combinations in username during registration
- registration form not working
- How can I disable all client side new accounts without disabling new user accounts?
- Custom Front End Registration – How Does the Key work in the Password Set Request?
- OAuth 2 and saving the authenticated user
- Register users without confirmation
- Override default new user registration email with custom message (non sub-domain multi-site installation)