From 325c7e7551c1253e56daa1caca07c344d0e21e80 Mon Sep 17 00:00:00 2001 From: PhoenixNode <56059785+0x7k@users.noreply.github.com> Date: Sat, 17 Aug 2024 13:54:42 +0800 Subject: [PATCH 1/2] docs: add missing LockerTimer dependency in readme.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b2286b4..bb06af1 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Add the plugin to your panel and add the middleware `Locker::class` to your pan ```php use lockscreen\FilamentLockscreen\Lockscreen; use lockscreen\FilamentLockscreen\Http\Middleware\Locker; +use lockscreen\FilamentLockscreen\Http\Middleware\LockerTimer; public function panel(Panel $panel): Panel { From 6eea125232a09d8cefd7e6e9a2c4c07444a9b4d2 Mon Sep 17 00:00:00 2001 From: Josie Darang <18107626+MarJose123@users.noreply.github.com> Date: Sat, 17 Aug 2024 15:24:40 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb06af1..601a7f0 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ public function panel(Panel $panel): Panel ->middleware([ // - LockerTimer::class, // <- Add this + LockerTimer::class, // <- Add this (this is an optional, if you want to lock the request after 30 minutes idle) ]) ->authMiddleware([ // ...