File tree Expand file tree Collapse file tree 2 files changed +27
-161
lines changed
Expand file tree Collapse file tree 2 files changed +27
-161
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 135135 */
136136 "GUARD_REGISTER " => "/auth/register " ,
137137
138+ /*
139+ |--------------------------------------------------------------------------
140+ | Logout route
141+ |--------------------------------------------------------------------------
142+ */
143+ "GUARD_HOME " => "/home " ,
144+
138145 /*
139146 |--------------------------------------------------------------------------
140147 | Logout route
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];
You can’t perform that action at this time.
0 commit comments