Giter VIP home page Giter VIP logo

bp-two-factor's Introduction

BP Two Factor

Integrates the Two Factor plugin into BuddyPress.

How to use?

  1. Install and activate the Two Factor plugin.
  2. Install and activate this plugin.
  3. Navigate to your BuddyPress profile's "Settings" page. You should see a Two Factor Authentication block.
  4. Enable your preferred 2FA option and ensure one of them is marked as Primary.
  5. Logout and login again to test two-factor authentication.

Notes

This plugin also makes the following usability improvements:

  • Pressing the "Enter" key can submit the TOTP authentication code now. (See pull request.)
  • "Security Keys" block only shows up if it is enabled. (See pull request.)
  • Deselecting a 2FA provider will remove it as the primary 2FA option if it was previously selected. Also, if another 2FA provider was enabled during unchecking, that provider will be selected as the new primary 2FA option. This was done to address this problem.
  • Changed "FIDO U2F Security Keys" label to "Security Keys" for simplicity.
  • Changed "Backup Verification Codes (Single Use)" label to "Recovery Codes". "Recovery Codes" seems to be more in use on other 2FA sites such as Github and Microsoft.
  • Removed "You can find FIDO U2F Security Key devices for sale from here" link under the "Security Keys" section as that sounds like an ad. (Source.)
  • Added more descriptive text to the "Security Keys" and "Recovery Codes" sections.
  • Changed the BuddyPress "Settings > General" tab to "Settings > Security" to better reflect the content on the page.

These improvements only take place on the BuddyPress profile's "Settings" page, and not in the admin dashboard's profile page.

The following improvements have been merged into the main Two Factor plugin:

  • Clicking on the 2FA provider name will select it under the "Enabled" checkbox. (See pull request.)

bp-two-factor's People

Contributors

r-a-y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bp-two-factor's Issues

Error with BuddyPress 11.1.0 and Two-Factor 0.8.1

Hello,
I'm using this plugin with BuddyPress and Two-Factor.
Thank you very much for your work.

After updating BuddyPress and Two-Factor to the latest version, the BuddyPress Settings page is no longer displayed correctly.
The debug message is the following.

PHP Fatal error:  Uncaught Error: Call to undefined method Two_Factor_Totp::user_two_factor_options_update() in wp-content/plugins/bp-two-factor-master/hooks/settings.php:91

When I downgraded the Two-Factor plugin to 0.7.3, this error fixed.
Best regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.