andrekelling / kirby-force-login
Force Login
Package info
github.com/AndreKelling/kirby-force-login
Type:kirby-plugin
pkg:composer/andrekelling/kirby-force-login
1.0.0
2025-10-17 12:58 UTC
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