Linux 软件免费装

Login Links – Passwordless Login, Temporary Access Links & Custom Login Form

开发者 denisaleman
更新时间 2025年7月4日 00:23
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.8
版权: GPLv3
版权网址: 版权信息

标签

custom login form passwordless login secure login login without password temporary access

下载

2.0.0 2.1.0 1.0.1

详情介绍:

Login Links allows you to create temporary, password-less access links for existing users or guest accounts. The links can be configured to expire either after a certain period of time or after a set number of successful logins.

安装:

Upload the login-links folder to the /wp-content/plugins/ directory. Activate the plugin through the Plugins menu in WordPress. Once activated, go to Login Links in the WordPress admin sidebar to create and manage login links.

屏幕截图:

  • New Login Link, Expiration Settings.
  • New Login Link, Expiration Settings & Send Email.
  • All Links Table View.
  • All Links Table View, Link Row Options.
  • Temporary Login Links Screen.
  • Temporary Login Links Screen, Sending Link by Email.
  • Temporary Login Links Screen, New Link Created.
  • Passwordless Login Settings
  • Passwordless Login, Standard WordPress Login Form.
  • Custom Passwordless Login Form via Shortcode.

常见问题:

What is a login link?

A temporary login link allows users to log in without a password, and you can set the link to expire after a specific period of time or after a certain number of successful logins.

How secure is this?

The links have alphanumeric tokens longer than 60 characters. Such a token is impossible to guess. The tokens are stored in database encrypted, this means that even if someone get access to the database, they won't be able to use the encrypted token.

Can I create multiple login links for the same user?

Yes, you can generate multiple temporary login links for the same user, each with its own expiration time or login limit.

How do I prevent the link from being used after it expires?

The plugin automatically invalidates the link after it reaches its expiration time or the maximum number of allowed logins is reached.

Can temporary login links be created for guest or temporary users?

Yes! You can generate login links for temporary users without needing to create permanent accounts.

Can users still log in with a password?

Yes. You can choose to either disable password login or allow the user to decide.

What problems does this solve?

Users often set simple passwords, especially temporary users like developers who are given admin access. Using login links solves this problem, and you don't have to worry about deleting the account later.

What about already registered users—why should they log in without a password?

It’s more convenient. People often forget their passwords or set simple ones to avoid forgetting them. With login links, forgetting a password is impossible because no password is required. The login is done via a one-time link.

How do I change the URL where users are redirected after logging in via a login link?

You can customize the redirect URL by using the WordPress filter hook lgnl_success_login_redirect_url. This filter lets you modify the URL the user is sent to after a successful login with a temporary login link token. Example of usage: add_filter( 'lgnl_success_login_redirect_url', function( $redirect_url, $link, $key, $request_uri ) { return 'https://yourwebsite.com/your-custom-page/'; }, 10, 4 );

更新日志:

1.0.1 Initial plugin release. 2.0.0 Passwordless login feature introduced. Passwordless login: standard WordPress login form support added. Passwordless login: Shortcode adding a customizable login form. Passwordless login: Option to disallow password login. Security improvement: links tokens are stored as encrypted hashes. Temporary Login Link: Reset link feature introduced. Temporary Login Link: Send via email feature introduced. Interface multiple enhancements introduced. i18n improved. Multiple minor bugs fixed. 2.1.0 Added filter 'lgnl_success_login_redirect_url' to allow customization of the redirect URL after successful login. Minor code refactoring and documentation updates.