Implement Two-factor authentication

This commit is contained in:
BlameDylan 2015-12-10 19:40:59 -06:00
parent 59ff1ebbe6
commit 4585753d04
6 changed files with 102 additions and 26 deletions

View file

@ -35,7 +35,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next)
{
if ($this->auth->check()) {
return redirect('/home');
return redirect('/');
}
return $next($request);