andrekelling / kirby-force-login
Force Login
Installs: 93
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:kirby-plugin
pkg:composer/andrekelling/kirby-force-login
Requires
Requires (Dev)
- getkirby/cms: ^5.1
README
A plugin for Kirby CMS.
- forces all users to login on non-panel pages
- redirects back to blocked page via urlParam after login
Especially useful for staging websites.
Inspired by WordPress plugin - Force Login
Requirements
- Kirby 5.1+ (just tested with 5.1 probably works on previous versions too)
Installation
Download
Download and copy this repository to /site/plugins/kirby-force-login.
Composer
composer require andrekelling/kirby-force-login
Usage
It's active when the config andrekelling.force-login.is-active is set to true in a respective config file.
For example in site/config/config.php.
License
MIT License Copyright © 2025 André Kelling