laravel-admin-ext / lock-screen
Lock-screen page for laravel-admin
Installs: 16 302
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 3
Forks: 6
Open Issues: 0
Requires
- php: >=7.0.0
- encore/laravel-admin: ~1.6
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-10-17 17:35:32 UTC
README
Add a lock screen page to laravel-admin.
Screenshots
Installation & Configuration
composer require laravel-admin-ext/lock-screen
Then add a middleware admin.lock
to routes configuration in config/admin.php
'route' => [ 'prefix' => 'demo', 'namespace' => 'App\\Admin\\Controllers', // add middleware `admin.lock` into this array. 'middleware' => ['web', 'admin', 'admin.lock'], ],
Usage
After installation and configuration, open the admin page, you will find a link in the upper right corner of the page with a lock icon, click it to redirect to the lock screen page, You need to enter your login password to return to unlock the page.
Donate
如果觉得这个项目帮你节约了时间,不妨支持一下;)
License
Licensed under The MIT License (MIT).