mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update 01-installation.md
This commit is contained in:
@@ -86,7 +86,7 @@ You should also consider optimizing your Laravel app for production by running `
|
||||
|
||||
### Allowing users to access a panel
|
||||
|
||||
By default, all `User` models can access Filament locally. However, when testing or deploying to production, you must update your `App\Models\User.php` to implement the `FilamentUser` contract — ensuring that only the correct users can access your panel:
|
||||
By default, all `User` models can access Filament locally. However, when deploying to production or running unit tests, you must update your `App\Models\User.php` to implement the `FilamentUser` contract — ensuring that only the correct users can access your panel:
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user