Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored Nov 5, 2024
1 parent 5dad42a commit e3d680a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ JWT_SECRET=YOUR_BASE64_SECRET_HERE
#### MoonShineServiceProvider

```php
protected function configure(MoonShineConfigurator $config): MoonShineConfigurator
{
return $config
->middlewares([])
->authPipelines([
JWTAuthPipe::class,
])
->authMiddleware(AuthenticateApi::class);
}
$config
->middlewares([])
->authPipelines([
JWTAuthPipe::class,
])
->authMiddleware(AuthenticateApi::class);
```

0 comments on commit e3d680a

Please sign in to comment.