Skip to content
MemBuild
What changedBuddyBossLearnDashWordPress

Should your members need a code to log in?

A stolen password is the usual way into a membership site. A second step at login stops most of that, but it can also lock your members out.

Updated 6 min read
The short answer

Require it for you and your team, and offer it to members without forcing it. The free Two Factor plugin covers this, and on BuddyBoss 3.6 or newer, members can turn it on from their own account. On our test site it asked for the code on the BuddyBoss and LearnDash logins too.

A phone showing a shield with a tick and a row of code dots: two-factor login.

Who needs it, and who can skip it

You and your team: yes, required

Anyone who can change the site, see members’ details or touch payments. One stolen password here can take the whole site with it.

Members: offer it, don’t force it

Most members have little to protect beyond their own account, and each lockout lands in your inbox. Let the ones who want it turn it on.

Members with something worth stealing

If accounts hold paid seats for a team, private client files or saved cards, ask those members to turn it on as well.

The free setup we tested

  1. 1

    Install the free Two Factor plugin

    It’s made by WordPress contributors and listed on WordPress.org. BuddyBoss needs version 0.16.0 or newer.

  2. 2

    Set it up for yourself first

    In the dashboard, open Users, then Your Profile, and scroll to Two-Factor Options. Turn on Recovery Codes and save them somewhere safe, then add an authenticator app.

  3. 3

    Do the same for every admin and staff account

    Each person sets up their own, so check the two-factor column on the Users list afterwards.

  4. 4

    On BuddyBoss, check the members’ Security tab

    With the plugin active, BuddyBoss 3.6 and newer adds Account, then Security, where members can turn it on themselves. It’s on unless you switched it off in BuddyBoss’s features.

  5. 5

    Tell members where to find it

    One line in your next email is enough. Say what the code is for and that the Recovery Codes are how they get back in.

Tools named on this page
some tool links pay us a commission. it never changes what we recommend.

What members see when they turn it on

  • They open Account, then Security, on BuddyBoss, or Your Profile in the dashboard on other sites
  • They turn on Recovery Codes first and keep a copy. BuddyBoss won’t save an app or email code without them
  • They scan a QR code with an authenticator app, or choose codes by email
  • From then on, after their password, they’re asked for a 6-digit code from the app, or an 8-digit code from their email

On a phone, the code screen kept the BuddyBoss login look and fit the screen. If a member loses their phone, a recovery code gets them in, and each one works once.

What the notes don’t say

  • BuddyBoss needs another plugin for this. The 3.6.0 notes say members can manage two-factor under Account, then Security. They don’t say the Security tab only appears once the free Two Factor plugin is active.
  • Social Login skips the code. BuddyBoss’s code lets a Social Login sign-in through without it, on purpose. The member still needs the code to change their two-factor settings.
  • Too many wrong codes resets the password. The Two Factor plugin’s code resets a member’s password after 30 wrong codes, on the basis that their password has been stolen. They’d then need the Forgot Password email.
  • Members see some technical wording. The Security tab mentions the REST API and application passwords, which most members can ignore. After setting up the app, our test member was also told to consider Recovery Codes, though they were already on.

What we saw on a test site

We built a test site with BuddyBoss Platform 3.7.0 and LearnDash 5.2.3 on WordPress 7.1.4, added the Two Factor plugin 0.17.0, and turned two-factor on for three test members: one with an authenticator app, one with email codes, and one who set it up from the Security tab on a phone-sized screen.

The code was required everywhere we logged in

The login page, in BuddyBoss’s styling, and the LearnDash login on a course page both asked for the code. The password alone didn’t log anyone in.

Members landed where they were going

After the code, members went back to the course or profile they started from.

Wrong codes slow things down

After a wrong code, the next try had to wait a couple of seconds, and the message said why. Recovery codes worked once each.

Email codes arrived as normal emails

The member got an email with an 8-digit code, which expires in 15 minutes. If your site’s emails are unreliable, members on email codes can’t log in.

Apps that sign in with a password were refused

An old-style app login with the member’s password was refused, and a login with an application password still worked. Your own site’s logins weren’t affected.

Letting a member back in took a minute

Unticking their methods in the dashboard, then saving, let them log in with just their password.

What this test doesn’t cover

  • We didn’t test BuddyBoss Social Login, the BuddyBoss app, WooCommerce or MemberPress logins.
  • Our test emails never left the test site, so we didn’t test real delivery.
  • We tested one plugin. The others below may work differently.
  • It’s a small test site, not a community with thousands of members.

If you need to require it

The free Two Factor plugin can’t make two-factor required. Its FAQ says each person turns it on for themselves. If you must require it, these plugins say they can. We haven’t tested them, and BuddyBoss’s Security tab only works with Two Factor. On MemBuild Community, you can require it with Two Factor alone; see the next section.

  • WP 2FA by Melapress: its WordPress.org page says it can require two-factor for everyone or for certain roles. Its pricing page puts some of that in the paid version, so check before you rely on it.
  • Wordfence: two-factor login and passkeys are in the main plugin. The separate Wordfence Login Security plugin was closed on WordPress.org on 17 August 2026.
  • Kadence Security, formerly Solid Security: its own documentation lists Require 2FA as a Pro feature.
  • miniOrange: its WordPress.org page lists enforcement policies in its Premium plan.

Whichever you choose, test it on a copy of your site, logging in as a member, before you switch it on for everyone.

If your community runs on MemBuild Community

MemBuild Community is our own free community plugin. Since version 1.20.0 it has two-step login built in, using the same free Two Factor plugin as the test above.

  1. 1

    Turn it on in Settings, then Security

    One switch adds the free Two Factor plugin from WordPress.org, or uses the copy you already have. If your host blocks plugin installs, the page shows how to add it by hand.

  2. 2

    Choose who has to use it

    Anyone who wants it, required for you and your team, or required for everyone. People who have to use it set it up the next time they log in, before they get in.

  3. 3

    Members set it up from their profile

    Under Edit profile, then Two-step login, they can add an authenticator app with a QR code, get codes by email, and save recovery codes. They never see the WordPress dashboard.

  • The code screen matches your login page. After the password, the community’s own login page asks for the code, in your colors, instead of the plain WordPress screen. A login link sent by email asks for the code too.
  • It can be required without a paid plugin. Two Factor alone leaves it up to each person. The community adds the choice of making it required for your team or for everyone.
  • Changing the settings needs a fresh code. A member who wants to turn it off or switch to a new phone types a code first, so someone with only their password can’t switch it off.

The same advice applies: require it for you and your team, and think twice before forcing it on every member.

Questions owners ask

Should I make every member use two-factor login?

Make it a must for anyone who can change the site or see payments, and offer it to members. A member who loses their phone and their recovery codes needs you to let them back in, so forcing it on everyone adds support work.

Does two-factor work with the BuddyBoss and LearnDash login forms?

On our test site, yes. Both send members through the normal WordPress login, so the code screen showed up after the password on each, and members landed back on the page they came from. A custom login form from another plugin may behave differently, so test yours.

A member is locked out. How do I let them back in?

They can sign in with one of their recovery codes. If they have none left, open their user in the WordPress dashboard, untick their two-factor methods and save. They can then sign in with their password and set it up again.

Does BuddyBoss Social Login skip the code?

Yes, by design. BuddyBoss’s code lets a Social Login sign-in through without the code, but the member has to give the code before changing their two-factor settings. We didn’t test Social Login ourselves.

Can the free Two Factor plugin make two-factor required?

Not from its settings. Its own FAQ says each person turns it on for themselves, and a developer can add a rule if you need to require it. Other plugins can require it, which the last section covers.

I use Wordfence Login Security. Is that still fine?

That separate plugin was closed on WordPress.org on 17 August 2026, at its author’s request. Its two-factor login now lives in the main Wordfence plugin, so move to that or to another option before you rely on it.

Two ways to start.

Done for you

Tell us about your platform.

Three quick questions, and I’ll reply within a working day with what I’d do. Sometimes that’s “you don’t need us”, and that’s fine too.

the form is right here
Do it yourself

Start with our free plugin.

The free community plugin gives you a feed, courses, chats and events on your own WordPress site.

MemBuild mascot standing beside the form and pointing at it.
Danica Louwe
Tell us about your platform
1. What is your membership running on?
a reply within a working day