Passwordless allows users to sign up and log in using only email addresses, removing the need for them to remember yet another password.
I have created this plugin because it is of great use to me and I hope it will be of use to others but it might break things. Please use it with caution and at your own risk. If you find bugs please get in touch with me or better yet help fix it on GitHub.
Passwordless allows your site's users to log in using only their email addresses. After submitting the login form with the email address filled in, the user will receive an email containing a login link which can only be used once. Clicking that link results in the user getting logged in for one year or until he logs out. Unused login links expire after one day.
New users will have accounts created for them automatically when they try to log in for the first time. In this case their email will also act as the username. Their visible name will be set to 'Annonymous' but can obviously be changed on the profile page.
The plugin changes the login page URI to
example.com/login from the default
example.com/wp-login.php. If permalinks are disabled the login page will instead be
The page can be customized using some of the same filters and action hooks that the original login page used. If a total overhaul of the page is desired, placing a
login.php template file in the currently active theme directory will override the plugin's login page.
I have included some new filter hooks to make it easy to change important aspects of the plugin's inner workings.
applied to the login page URI. Filter function argument: string containing the login page URI.
applied to the length of the generated passwords/keys. Filter function argument: integer representing the number of characters.
applied to the number of seconds a login key is valid for. Filter function argument: integer number of seconds.
applied to the URI where a user is sent after logging in. Filter function arguments: string URI, integer user id.
applied to the subject of the email that gets sent to users logging in. Filter function arguments: string email subject, string email address.
applied to the body of the email that gets sent to users logging in. Filter function arguments: string email body, string email address.