Title: Passwordless Login
Author: madalin.ungureanu
Published: <strong>2014 年 10 月 31 日</strong>
Last modified: 2026 年 2 月 2 日

---

搜索插件

![](https://ps.w.org/passwordless-login/assets/banner-772x250.png?rev=2190567)

![](https://ps.w.org/passwordless-login/assets/icon-256x256.png?rev=2190567)

# Passwordless Login

 作者：[madalin.ungureanu](https://profiles.wordpress.org/madalinungureanu/)

[下载](https://downloads.wordpress.org/plugin/passwordless-login.1.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/passwordless-login/#description)
 * [评价](https://cn.wordpress.org/plugins/passwordless-login/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/passwordless-login/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/passwordless-login/#developers)

 [支持](https://wordpress.org/support/plugin/passwordless-login/)

## 描述

[Passwordless Login](https://www.cozmoslabs.com/add-ons/passwordless-login/) is 
a modern way of loggin into your WordPress site without the use of a password.

Join the discussion here: [https://www.cozmoslabs.com/31550-wordpress-passwordless-login/](https://www.cozmoslabs.com/31550-wordpress-passwordless-login/)

This is how it works:

 * Instead of asking users for a password when they try to log in to your website,
   we simply ask them for their username or email
 * The plugin creates a temporary authorization token and saves it in a WordPress
   transient that expires after 10 minutes
 * Then we send the user an email with a link and the token
 * The user clicks the link and sends the authorization code to your server
 * The plugin then checks if the code is valid and creates the log in WordPress 
   cookie, successfully authenticating the user.

You can use the shortcode [passwordless-login] in a page or widget.

If you’re looking to create front-end user registration and profile forms we recommend
[Profile Builder](https://www.cozmoslabs.com/wordpress-profile-builder/).

NOTE:

Passwordless Authentication dose not replace the default login functionality in 
WordPress.

## 屏幕截图

[⌊Scr1⌉⌊Scr1⌉[

Scr1

[⌊Scr2⌉⌊Scr2⌉[

Scr2

[⌊Scr3⌉⌊Scr3⌉[

Scr3

[⌊Scr4⌉⌊Scr4⌉[

Scr4

[⌊Scr5⌉⌊Scr5⌉[

Scr5

[⌊Scr6⌉⌊Scr6⌉[

Scr6

[⌊Scr7⌉⌊Scr7⌉[

Scr7

[⌊Scr8⌉⌊Scr8⌉[

Scr8

## 安装

 1. Upload the passwordless-login folder to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create a new page and use the shortcode available

## 常见问题

### Is this secure?

Yes. The token is created using wp_hash and it’s based on the user id, the current
time and the salt in wp-config.php

### Couldn’t anyone login if they have that link?

The token expires after 10 minutes and can only be used once. If people have access
to that link it’s supposed they have access to your email, in which case it’s as
safe as the default login, since they could reset their passwords.

### Isn’t it more complicated they just entering a password?

Weak passwords are used every day by users. There are also people who use the same
password across various services and websites. By using the Passwordless Login plugin
your users will have one less password to worry about.

### But what if my users don’t want to login every time via their email?

You can extend the auth cookie expiration to something like 1 month or 3 months (
this can be changed by using the wpa_change_link_expiration filter). Also, you can
offer Passwordless Login as an alternative login system and enforce stronger passwords
on registration using [Profile Builder plugin.](https://wordpress.org/plugins/profile-builder/)

### I can’t find a question similar to my issue; Where can I find support?

For more information please visit http://www.cozmoslabs.com or via the support tab.

## 评价

![](https://secure.gravatar.com/avatar/9ed405fcbc405bdcab9bbf742043ec6242755aad9ba01561fa921e02e12d71c5?
s=60&d=retro&r=g)

### 󠀁[It’s a favorite](https://wordpress.org/support/topic/its-a-favorite/)󠁿

 [rinustp](https://profiles.wordpress.org/rinustp/) 2023 年 2 月 9 日

Found and installed this plugin today hoping to make logging in easier.It works 
perfectly. My members are also very satisfied. And it has now also been tested with
my theme, Mantra.Definitely worth 5 stars. Thank you.

![](https://secure.gravatar.com/avatar/77108a6abe6859419f42d45774dfabd2ba35839b7af9945658548e98b3daf8c9?
s=60&d=retro&r=g)

### 󠀁[Use to create “subscriber” login](https://wordpress.org/support/topic/use-to-create-subscriber-login/)󠁿

 [Ownsale](https://profiles.wordpress.org/unconsultancy/) 2022 年 9 月 4 日

Hi, I’m looking for a solution that will allow visitors to use email & passwordless
login in order to access certain content. NOT to give full admin access. Can I use
this plugin to create logins at a lower level than “Administrator”? Thanks

![](https://secure.gravatar.com/avatar/02d8e00be0f4f6fc14a7d212ebb36f3455e5d8c75c7d68a2de00714d5814783f?
s=60&d=retro&r=g)

### 󠀁[Voluntary fork plugin is available](https://wordpress.org/support/topic/voluntary-fork-plugin-is-available/)󠁿

 [skillsharejp](https://profiles.wordpress.org/skillsharejp/) 2022 年 3 月 5 日

This was one of my favorite plugins for simplifying user logins. While it may not
work on latest WP versions, a Japanese developer has forked and released 5.9.1 compatible
version as Magic Login Mail. Thanks to original developers for this wonderful solution.

![](https://secure.gravatar.com/avatar/7a328b8eb7dcd4101ce2fdeb937d87969b3c91e1bf573532fc0268aa4a16b0f1?
s=60&d=retro&r=g)

### 󠀁[Brilliant solution for password-free login](https://wordpress.org/support/topic/brilliant-solution-for-password-free-login/)󠁿

 [WP-Henne](https://profiles.wordpress.org/wp-henne/) 2019 年 10 月 30 日 1 回复

Whether for users with login problems or forgetability. Or for comfortable login.
An alternative, if too many hacker attacks disturb the login. Fast and helpful support!

![](https://secure.gravatar.com/avatar/5faaf2cae187224ee51f6ece9b1bbc5470c94b5ace7796d2dbf594c62f6ed807?
s=60&d=retro&r=g)

### 󠀁[A simple and nice tool](https://wordpress.org/support/topic/a-simple-and-nice-tool/)󠁿

 [moonyell](https://profiles.wordpress.org/moonyell/) 2019 年 10 月 24 日 1 回复

I always prefer these types of simple for installing and using plugin. Passwordless-
login provides an alternative for users. Author of this plugin is very supportive.
Great job!

![](https://secure.gravatar.com/avatar/28172336622bcaa76b894842aecc5c043e62beaa31d973aa7444ee81b364502e?
s=60&d=retro&r=g)

### 󠀁[It Simply works](https://wordpress.org/support/topic/it-simply-works-47/)󠁿

 [Aldoseri](https://profiles.wordpress.org/aldoseri/) 2019 年 4 月 7 日 1 回复

This is a very nice plugin that works as expected. No one should complain if they
forgot their passwords. fill in your username or email and hit login. In few seconds
you’ll receive an email with login link. It’s 2 factor authentication made simpler.

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/passwordless-login/reviews/)

## 贡献者及开发者

「Passwordless Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ madalin.ungureanu ](https://profiles.wordpress.org/madalinungureanu/)
 *   [ Cristian Antohe ](https://profiles.wordpress.org/sareiodata/)
 *   [ Cozmoslabs ](https://profiles.wordpress.org/cozmoslabs/)

「Passwordless Login」插件已被翻译至 8 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/passwordless-login/contributors)
为本插件所做的贡献。

[帮助将「Passwordless Login」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/passwordless-login)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/passwordless-login/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/passwordless-login/)，或通过[RSS](https://plugins.trac.wordpress.org/log/passwordless-login/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/passwordless-login/)。

## 更新日志

#### 1.1.4

 * Fix: Allow 2 forms on the same page to process correctly
 * Fix: A compatibility bug with the Allow Users To Login With option from Profile
   Builder
 * Fix: Switched from using ids to style the form to using classes
 * Fix: Add translation support for the Login form submit button
 * Misc: Added a filter to disable the automatic redirect to homepage for HEAD requests

#### 1.1.3

 * Fix: XSS issue with the already logged in message. Thanks to Mat Rollings
 * Fix: Added nonce check for the admin notice dismiss action
 * Fix: Sanitize additional output
 * Fix: A compatibility bug with Profile Builder when an after login redirect returned
   an empty string

#### 1.1.2

 * Fix: issues with form being processed multiple times
 * Fix: an issue regarding AV Link Protection
 * Misc: added a filter over the headers of the email that is sent: wpa_email_headers
 * Misc: added a filter to allow adding of extra email verification logic: wpa_email_verify_login

#### 1.1.1

 * Redirect after login based on Profile Builder Pro custom redirects.

#### 1.1.0

 * Fix create_function to anonymous function so it works with PHP 7.2
 * Localize certain strings
 * Add wpa_after_login_redirect filter so you can redirect users after login
 * Change logo and banner

#### 1.0.9

 * Fixed a problem with admin approval error message

#### 1.0.8

 * Added compatibility with Admin Approval from Profile Builder

#### 1.0.7

 * Fix: Properly localize plugin again. Changed the text domain to be the same with
   the slug.

#### 1.0.6

 * Fix: Properly localize plugin.

#### 1.0.5

 * Fix: Fixed an issue with the Email Content Type. Now we are using the wp_mail_content_type
   filter to set this.
 * Plugin security improvements.

#### 1.0.4

 * Fix: Remove email ‘from’ filter. Should use wp_mail_from filter.
 * Added support for HTML inside the e-mail that gets sent.
 * Added the wpa_change_link_expiration filter to be able to change the lifespan
   of the token.
 * Added the wpa_change_form_label to be able to change the label for the login 
   form. The label also changes automatically now based on the value of the Allow
   Users to * Login With option set in Profile Builder -> Manage Fields.
 * Fix: Generating the url using add_query_args() function.

#### 1.0.3

Fix: Minor readme change

#### 1.0.2

Fix: Added require_once for the PasswordHash class

#### 1.0.1

 * Security fix: tokens are now hashed in the database.
 * Security fix: sanitized the input fields data.
 * Fix: no longer using transients. Now using user_meta with an expiration meta 
   since transients are not to be trusted.
 * Change: removed a br tag.

#### 1.0

Initial version. Added a passwordless login form as a shortcode.

## 额外信息

 *  版本 **1.1.4**
 *  最后更新：**4 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/passwordless-login/) 、 [English (US)](https://wordpress.org/plugins/passwordless-login/)、
   [German](https://de.wordpress.org/plugins/passwordless-login/) 、 [Japanese](https://ja.wordpress.org/plugins/passwordless-login/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/passwordless-login/) 、 [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/passwordless-login/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/passwordless-login/) 、 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/passwordless-login/)
   和 [Thai](https://th.wordpress.org/plugins/passwordless-login/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/passwordless-login)
 * 标签
 * [custom login form](https://cn.wordpress.org/plugins/tags/custom-login-form/)
   [Front end login](https://cn.wordpress.org/plugins/tags/front-end-login/)[login shortcode](https://cn.wordpress.org/plugins/tags/login-shortcode/)
   [passwordless](https://cn.wordpress.org/plugins/tags/passwordless/)[passwordless login](https://cn.wordpress.org/plugins/tags/passwordless-login/)
 *  [高级视图](https://cn.wordpress.org/plugins/passwordless-login/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  10 条 5 星评价     ](https://wordpress.org/support/plugin/passwordless-login/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/passwordless-login/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/passwordless-login/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/passwordless-login/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/passwordless-login/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/passwordless-login/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/passwordless-login/reviews/)

## 贡献者

 *   [ madalin.ungureanu ](https://profiles.wordpress.org/madalinungureanu/)
 *   [ Cristian Antohe ](https://profiles.wordpress.org/sareiodata/)
 *   [ Cozmoslabs ](https://profiles.wordpress.org/cozmoslabs/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/passwordless-login/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.cozmoslabs.com/wordpress-profile-builder/)