integrated frontend

This commit is contained in:
jack
2018-05-07 15:26:23 +08:00
parent a5534004b8
commit a1db64d1c1
210 changed files with 26173 additions and 55949 deletions
@@ -18,7 +18,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect('/home');
return response()->json(['error' => 'Already authenticated.'], 400);
}
return $next($request);