From 52ad9bc2b3a2be8693a8a19b3db697887b6940d9 Mon Sep 17 00:00:00 2001 From: mortazavi Date: Wed, 28 Jun 2023 11:06:49 +0330 Subject: [PATCH] docs updated; --- docs/content/_index.md | 2 +- docs/content/docs/instalation.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/_index.md b/docs/content/_index.md index 279421b..1ad8714 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -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 diff --git a/docs/content/docs/instalation.md b/docs/content/docs/instalation.md index 3134186..4bc944c 100644 --- a/docs/content/docs/instalation.md +++ b/docs/content/docs/instalation.md @@ -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', ], // ... ],