Skip to content

Commit

Permalink
docs updated;
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-thomas committed Jun 28, 2023
1 parent 3e3204b commit 52ad9bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/content/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
description = "Sphinx is a feature reach JWT-based authentication system that make zero queries to database during authorization."
description = "Sphinx is a feature reach Jwt-based authentication system that make zero queries to database during authorization."
title = "Sphinx"
draft = false

Expand Down
10 changes: 5 additions & 5 deletions docs/content/docs/instalation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@ First of all, define the provider.
```
'providers' => [
// ...
'sphinx' => [
'driver' => 'SphinxProvider',
'sphinxUsers' => [
'driver' => 'sphinx',
'model' => App\Models\User::class,
],
// ...
],
```

Then, add the guard.
Then, add your guard.

```
'guards' => [
// ...
'jwt' => [
'driver' => 'SphinxDriver',
'provider' => 'SphinxProvider',
'driver' => 'sphinxJwt',
'provider' => 'sphinxUsers',
],
// ...
],
Expand Down

0 comments on commit 52ad9bc

Please sign in to comment.