Linux 软件免费装
Banner图

HappyAccess - Temporary Login, Passwordless Login and 2FA

开发者 shameemreza
更新时间 2026年10月10日 11:34
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

two factor authentication 2fa passwordless login temporary login magic link

下载

1.0.5 1.0.6 1.1.0

详情介绍:

HappyAccess fixes the three login problems most WordPress and WooCommerce sites run into, in one light plugin: Two-step login also brings new device alerts: your administrators get an email when their account logs in from a browser it hasn't seen before. Each feature is a switch in Settings. Turn on only what you need. Anything you leave off adds no code to your pages. https://www.youtube.com/watch?v=VtsEFprDkdM How to give temporary admin access without sharing a password Someone from support needs to look at your site. The usual way is to make them an admin account, send a password by email, and promise to delete the account later. Most people forget, and the account stays forever. With HappyAccess, you create a pass in Users > HappyAccess and send them the link or the 8-digit code. They log in with it. When the time you picked is up, their sessions end and their account is removed by itself. How to log in to WordPress without a password Forgotten passwords are the most common login problem on any site with customers. Passwordless login lets people skip the password and log in with an email code or a magic login link instead.
  1. They select "Email me a login code" on the login form and type their email or username.
  2. They get one email with a 6-digit code and a login link. Both work for 10 minutes by default (5 to 30, your choice).
  3. They type the code, or open the link on any device, and they're in.
Where the option shows: Built to be safe: How to add two-factor authentication to WordPress and WooCommerce Two-step login (also called two-factor authentication or 2FA) asks for a second code after the password. A stolen password alone isn't enough to get in. New device login alerts When an administrator's account logs in from a browser it hasn't used before, they get an email with the time, the browser, the system and the IP address, and a link to change their password if it wasn't them. You can turn alerts on for other roles in Login and security. New device alerts are part of two-step login, so they run while two-step login is on. Light, private and secure For support teams, agencies and developers If you support WordPress or WooCommerce sites, send this to a client when you need access. Copy it, change the names, and paste it into your ticket or email.
Hi! To look into this, I need to log in to your site. You don't have to send me a password or make me an account.
  1. Install the free HappyAccess plugin from your Plugins screen.
  2. Go to Users > HappyAccess and create a pass. Three days is plenty.
  3. Send me the link it shows you.
My access ends by itself when the time is up, and you can end it earlier from the same screen. You'll also see what I changed while I was in.

安装:

  1. In your dashboard, go to Plugins > Add New Plugin and search for "HappyAccess".
  2. Install and activate it.
  3. Go to Users > HappyAccess. Temporary access is on from the start.
  4. To add passwordless login or two-step login, turn them on in the Settings tab, then set them up in Login and security.

屏幕截图:

  • The login link and 8-digit code to send, right after you create a pass.
  • Activity: what the support person changed while they were in.
  • What the support person sees: a confirm screen before the login link logs them in.
  • Login and security: passwordless and two-step settings with a live preview.
  • Passwordless login on WooCommerce My Account: "Email me a login code instead".
  • Setting up two-step login from WooCommerce My Account with an authenticator app.
  • The two-step code step after the password.

升级注意事项:

1.1.0 A full rebuild with passwordless login, two-step login and new device alerts. Needs WordPress 6.7 or later. Active access codes keep working for up to 7 days, but 1.0.6 login links and share links stop. You can't go back to 1.0.6 after upgrading.

常见问题:

How do I give someone temporary admin access to my WordPress site?

Go to Users > HappyAccess, type who it's for, pick how long it lasts and what they can do, and create the pass. Send them the login link or the 8-digit code. Their access ends by itself at the time you picked.

Can the support person see my password?

No. They log in with their own link or code, and their account is separate from yours. They never see or need your password.

What happens when temporary access ends?

Their sessions end, they're logged out, and their temporary account is removed. Anything they wrote moves to your account and is never deleted. The activity log stays for as long as you keep logs (30 days by default).

Can I end temporary access early?

Yes. End or suspend any pass from the Temporary access tab. The Emergency lock button in the admin bar ends every pass at once.

Does a support pass work on a copy of my site?

No. A pass logs them in to your live site, and what they change is real. The access level sets what they can do, and the Activity tab shows what they did. Your other plugins run as usual while they work. On Protected admin and Custom access passes, if a plugin tries to change role permissions on a page they load, outside a plugin activation or update, HappyAccess refuses the change and logs it as "Role change blocked".

Is a login link the same as a magic link?

Yes. A login link (often called a magic link) logs someone in without a password. HappyAccess login links open a confirm screen first and only work once, so a link scanner in Outlook, Gmail or Slack can't use them up before the person does.

How does passwordless login work with WooCommerce?

Turn on Passwordless login, and customers see "Email me a login code instead" under the login form on My Account and on the classic checkout. They type their email, get a 6-digit code, and log in without leaving the page. After logging in, they land back on My Account or the checkout.

Can I add the email code option to the WooCommerce block checkout?

The block checkout doesn't let plugins add to its sign-in prompt yet. Add the HappyAccess Login block to your checkout page instead. The classic checkout and My Account get the option on their own.

Why does the login shortcode show as plain text on my page?

Passwordless login is off. The [happyaccess_login] shortcode works only while it's on. Turn it back on in Settings, or take the shortcode off your pages. The HappyAccess Login block shows nothing while Passwordless login is off.

Which authenticator apps work with two-step login?

Any app that supports standard time-based one-time codes (TOTP, RFC 6238). That includes Google Authenticator, Microsoft Authenticator, Authy, 1Password, Bitwarden and most password managers.

Can I require two-factor authentication for administrators only?

Yes. In Login and security, set each role to Off, Optional or Required. For example, Required for Administrator and Shop manager, and Optional for everyone else. Required roles get a grace period to set it up.

Do customers who sign up at checkout have to set up two-step login right away?

No. WooCommerce logs a new account in as soon as it's made, at sign-up on My Account or at checkout, without the login form. If the Customer role is Required, the setup screen and the grace period start at their next login.

Does two-step login work with custom login forms?

Yes, when the form logs people in through WordPress's own sign-in function, wp_signon(). That covers the WordPress login page, WooCommerce and any other login form built on it. A form that skips it can opt in with the happyaccess_twostep_login_request filter.

Someone is locked out of two-step login. What do I do?

Pick whichever fits:

  • As an admin, open their profile and select "Turn off two-step login for this user".
  • Run wp happyaccess twostep reset <user>.
  • If you're locked out yourself, add define( 'HAPPYACCESS_DISABLE_TWOSTEP', true ); to wp-config.php, log in, set it up again, then remove the line.

Can I make a role log in only with an email code?

Yes, in Login and security. A password login for that role gets the same message as a wrong password, so the message never shows which accounts use email codes. If email stops working on your site, add define( 'HAPPYACCESS_ALLOW_PASSWORD_LOGIN', true ); to wp-config.php to get back in with a password.

I changed the security keys in wp-config.php. Why do people need to set up their app again?

Authenticator secrets are encrypted with your site's keys. New keys mean the old secrets can't be read, so app codes stop working. Two-step login stays on, and people can still log in with an email code or a backup code, then set up the app again from their profile. New keys also stop current support passes. WordPress logs the support person out, and the pass's link and code stop working. Select New link and code on a pass to send working ones. Login codes and links already emailed stop working too, so people ask for a new one. The same happens when the HappyAccess site key is lost, except WordPress doesn't log anyone out. The key is the happyaccess_secret option in the database, and a site move or a database cleanup plugin can leave it out. HappyAccess then makes a new key. Copy the whole options table when you move a site.

Why did I get a new device alert from a browser I always use?

HappyAccess knows a browser by a cookie with a random ID, and it stores that ID as a hash made with your site's keys. Clearing cookies makes the browser look new. So do new security keys in wp-config.php or a lost HappyAccess site key: every browser looks new at its next login, and each watched person gets an alert for it. Each person gets at most 3 alerts an hour, and after that login the browser is known again.

Does it work with WPS Hide Login and other hidden login URL plugins?

Yes. Every HappyAccess screen is a step of the normal WordPress login page, so a hidden login URL plugin moves it along with everything else.

Does it work with Wordfence and other security plugins?

Yes. HappyAccess codes don't count as wrong passwords, so a brute force lockout won't lock anyone out over them. If Wordfence Login Security, Two Factor, WP 2FA or Kadence Security already adds two-step login to an account, HappyAccess skips that account. One thing to know: plugins that add their own checks to the password login, like user approval or country blocks, don't run on code and link logins.

Does it work with page cache plugins?

Yes. Every HappyAccess login screen tells caches not to store it.

Does it work on WordPress multisite?

Yes, network activated or per site. When it's network activated, two-step login follows the main site's settings on every site.

Does HappyAccess slow down my site?

No. Each feature loads only when it's on, and only on the pages that need it. Your other pages get no HappyAccess script or style.

Is HappyAccess free?

Yes. There's no paid version and no account to sign up for.

Where do I report a security issue?

Please report it privately through the security policy at https://github.com/shameemreza/happyaccess/security/policy, not in the support forum.

更新日志:

1.1.0 HappyAccess is rebuilt from the ground up in this release. Upgrading from 1.0.x: 1.0.6 1.0.5