empewoow/flarum-ext-auth-redirect

Redirect authentication methods; login, logout, and register links.

Installs: 431

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 2

Open Issues: 2

Language:JavaScript

Type:flarum-extension

v0.1.0-beta.6 2017-01-05 19:24 UTC

This package is not auto-updated.

Last update: 2020-02-16 15:24:04 UTC


README

Introduction

With this plugin you can remove the sign-up and log-in buttons. You can change the behavior of the logout URL through the admin panel. Also when a user is not logged in, the plugin will redirect the user to this desired URL, in the plugin settings, this URL is called the "Redirect URL".

Please note that this plugin is still a work in progress.

Screenshot

Flarum extension settings

During development

Run in (js/forum):

npm install

gulp watch

When it is compiled, run in Flarum root:

composer update

Also, whenever you changed the source code, run php flarum cache:clear and reload the page.

Installation through Packagist

The extension is also on Packagist, so you should be able to install it using:

composer require empewoow/flarum-ext-auth-redirect