WordPress.org

Make WordPress Core

Opened 3 weeks ago

#44517 new enhancement

Allow specifying the WordPress username to be filled in on the login form via a URL parameter.

Reported by: datatim Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Login and Registration Keywords:
Focuses: Cc:

Description

Hi All,

I have a usecase for WordPress that requires me to allow specifying the username that will be logged into for WordPress via a URL parameter.

Essentially, a WordPress plugin allows creating a new username, only if a valid email has been sent. As part of the authentication flow, I want to be able to specify what the username was on the URL so that the user can just click the link that is sent to them via email, requiring only that their password be entered.

I have provided a patch. Please let me know if there are any changes that should be made.

Thanks!

Attachments (1)

allow-setting-username-on-url-for-login.php (559 bytes) - added by datatim 3 weeks ago.
allow-setting-username-on-url-for-login.php

Download all attachments as: .zip

Change History (1)

@datatim
3 weeks ago

allow-setting-username-on-url-for-login.php

Note: See TracTickets for help on using tickets.