Skip to content

Commit

Permalink
docs: add missing LockerTimer dependency in readme.md (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarJose123 authored Aug 17, 2024
2 parents f68bb06 + 6eea125 commit c802bfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -34,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([
// ...
Expand Down

0 comments on commit c802bfc

Please sign in to comment.