Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FlusherDock1 authored Dec 5, 2021
1 parent 7980f7a commit fb31e9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ Route::group(['middleware' => [\ReaZzon\JWTAuth\Http\Middlewares\ResolveUser::cl
});
```

or

```php
Route::post('account', function () {

// Logic that should be available only for authenticated users

})->middleware(\ReaZzon\JWTAuth\Http\Middlewares\ResolveUser::class);
```

## Routes

- **POST** `/jwt/login` - Login route
Expand Down

0 comments on commit fb31e9f

Please sign in to comment.