Skip to content

Commit 1e78048

Browse files
committed
👽 updated auth config
1 parent cd3952f commit 1e78048

File tree

2 files changed

+27
-161
lines changed

2 files changed

+27
-161
lines changed

config/auth copy.php

Lines changed: 0 additions & 161 deletions
This file was deleted.

config/auth.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@
135135
*/
136136
"GUARD_REGISTER" => "/auth/register",
137137

138+
/*
139+
|--------------------------------------------------------------------------
140+
| Logout route
141+
|--------------------------------------------------------------------------
142+
*/
143+
"GUARD_HOME" => "/home",
144+
138145
/*
139146
|--------------------------------------------------------------------------
140147
| Logout route
@@ -158,4 +165,24 @@
158165
|
159166
*/
160167
"SAVE_SESSION_JWT" => false,
168+
169+
/*
170+
|--------------------------------------------------------------------------
171+
| JWT Token Secret
172+
|--------------------------------------------------------------------------
173+
|
174+
| Secret string to encode JWT
175+
|
176+
*/
177+
"TOKEN_SECRET" => "@_leaf$0Secret!",
178+
179+
/*
180+
|--------------------------------------------------------------------------
181+
| JWT Lifetime
182+
|--------------------------------------------------------------------------
183+
|
184+
| How long should JWT be valid for?
185+
|
186+
*/
187+
"TOKEN_LIFETIME" => 60 * 60 * 24 * 365
161188
];

0 commit comments

Comments
 (0)