issyrocks12/flarum-ext-twofactor

This package is abandoned and no longer maintained. The author suggests using the reflar/twofactor package instead.

Add TOTP 2 factor authentication

Installs: 374

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Type:flarum-extension

1.0.1 2017-06-10 00:14 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:06:14 UTC


README

GitHub license Latest Stable Version Donate

Please read the install guide!

A Flarum extension that increases security by adding TOTP two factor authentication

Goals

  • To increase forum security

Usage

  • As a user, go to your account settings page and follow the prompts to setup twofactor
  • No admin options to configure

Installation

This extension requires a bit more setup. These steps are optional but will greatly increase the security of this plugin.

First install it with composer:

composer require issyrocks12/flarum-ext-twofactor

Then login and enable the extension.

!!Make sure to undo this if you ever uninstall this extension!!

If you have Apache, add these lines right after the "RewriteEngine on"

  RewriteCond %{REQUEST_URI} ^/login
  RewriteRule ^(.*)$ - [F,L]

If you have Nginx add these lines to your server block:

  location ~ ^/login {
                deny all;
  }

Q: What does this do? A: This extension uses a custom login handler and therefore a different url to send the login request to. If someone changes the url back to the default they could bypass the twof factor auth.

To Do

  • Requests?

Issues

  • None known

Links