Skip to content

Commit

Permalink
🔥 Remove redirect config
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomotol committed Jan 7, 2021
1 parent 745475b commit 518f910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions config/auth-timeout.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,4 @@

'timeout' => 15,

/*
|--------------------------------------------------------------------------
| Timeout Redirection
|--------------------------------------------------------------------------
|
| Here you may specify the path to where the user will be redirected when
| they have timed out.
|
*/

'redirect' => null,

];
4 changes: 2 additions & 2 deletions src/Middleware/AuthTimeoutMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ public function handle($request, Closure $next, $guard = null)
* @param \Illuminate\Http\Request $request
* @param mixed $guard
*
* @return string|null
* @return mixed
*/
protected function redirectTo($request, $guard)
{
return config('auth-timeout.redirect');
//
}
}

0 comments on commit 518f910

Please sign in to comment.