Skip to content

Commit

Permalink
👽 updated auth config
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Nov 22, 2021
1 parent cd3952f commit 1e78048
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 161 deletions.
161 changes: 0 additions & 161 deletions config/auth copy.php

This file was deleted.

27 changes: 27 additions & 0 deletions config/auth.php
Expand Up @@ -135,6 +135,13 @@
*/
"GUARD_REGISTER" => "/auth/register",

/*
|--------------------------------------------------------------------------
| Logout route
|--------------------------------------------------------------------------
*/
"GUARD_HOME" => "/home",

/*
|--------------------------------------------------------------------------
| Logout route
Expand All @@ -158,4 +165,24 @@
|
*/
"SAVE_SESSION_JWT" => false,

/*
|--------------------------------------------------------------------------
| JWT Token Secret
|--------------------------------------------------------------------------
|
| Secret string to encode JWT
|
*/
"TOKEN_SECRET" => "@_leaf$0Secret!",

/*
|--------------------------------------------------------------------------
| JWT Lifetime
|--------------------------------------------------------------------------
|
| How long should JWT be valid for?
|
*/
"TOKEN_LIFETIME" => 60 * 60 * 24 * 365
];

0 comments on commit 1e78048

Please sign in to comment.