empewoow / flarum-ext-auth-redirect
Redirect authentication methods; login, logout, and register links.
Installs: 447
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 2
Language:JavaScript
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.5
This package is not auto-updated.
Last update: 2025-01-27 16:00:19 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
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