Implement Two-factor authentication
This commit is contained in:
parent
59ff1ebbe6
commit
4585753d04
6 changed files with 102 additions and 26 deletions
|
@ -35,7 +35,7 @@ class RedirectIfAuthenticated
|
|||
public function handle($request, Closure $next)
|
||||
{
|
||||
if ($this->auth->check()) {
|
||||
return redirect('/home');
|
||||
return redirect('/');
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue