No description, website, or topics provided.
Clone or download
Latest commit db55a3a Nov 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources/views first commit Nov 14, 2018
routes first commit Nov 14, 2018
src first commit Nov 14, 2018
.gitignore first commit Nov 14, 2018
LICENSE first commit Nov 14, 2018
README.md Update README.md Nov 14, 2018
composer.json Update composer.json Nov 14, 2018

README.md

Lock screen

Add a lock screen page to laravel-admin.

中文介绍

Screenshots

wx20181114-232541

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

如果觉得这个项目帮你节约了时间,不妨支持一下;)

-1

License

Licensed under The MIT License (MIT).