File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ You can find and compare releases at the GitHub release page.
88
99## [ Unreleased]
1010
11- ### Added
11+ ### Fixed
1212- Fixes #259 - Can't logout with an expired token
13+ - Fixed #271 - Changing JWT_TTL in .env doesn't work
14+
15+ ### Added
1316- Add ` cookie_key_name ` config to customize cookie name for authentication
1417
1518### Removed
Original file line number Diff line number Diff line change 8989 |
9090 */
9191
92- 'ttl ' => env ('JWT_TTL ' , 60 ),
92+ 'ttl ' => ( int ) env ('JWT_TTL ' , 60 ),
9393
9494 /*
9595 |--------------------------------------------------------------------------
108108 |
109109 */
110110
111- 'refresh_ttl ' => env ('JWT_REFRESH_TTL ' , 20160 ),
111+ 'refresh_ttl ' => ( int ) env ('JWT_REFRESH_TTL ' , 20160 ),
112112
113113 /*
114114 |--------------------------------------------------------------------------
196196 |
197197 */
198198
199- 'leeway ' => env ('JWT_LEEWAY ' , 0 ),
199+ 'leeway ' => ( int ) env ('JWT_LEEWAY ' , 0 ),
200200
201201 /*
202202 |--------------------------------------------------------------------------
223223 |
224224 */
225225
226- 'blacklist_grace_period ' => env ('JWT_BLACKLIST_GRACE_PERIOD ' , 0 ),
226+ 'blacklist_grace_period ' => ( int ) env ('JWT_BLACKLIST_GRACE_PERIOD ' , 0 ),
227227
228228 /*
229229 |--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments