Skip to content

Commit

Permalink
Updated some config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
izniburak committed Feb 16, 2021
1 parent ee6c46d commit 39759e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
// JWT time to live (in minutes)
'ttl' => env('JWT_TTL', 60),

// JWT time to live for Refresh Token (in minutes)
'refresh_ttl' => env('JWT_REFRESH_TTL', (60*24*30*6)),

// JWT hashing algorithm
'alg' => env('JWT_ALGO', 'HS256'),

Expand Down
2 changes: 2 additions & 0 deletions config/route.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
*/
'middleware' => [
// \Nur\Http\Middleware\CorsMiddleware::class,
\Nur\Http\Middleware\TrimStrings::class,
\Nur\Http\Middleware\ConvertEmptyStringsToNull::class,
],

/**
Expand Down

0 comments on commit 39759e9

Please sign in to comment.