/**
  * Handle a successful authentication attempt.
  *
  * @param  Request  $request
  * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
  * @return Response
  */
 public function authenticated(Request $request, $user)
 {
     if (Spark::usesTwoFactorAuth() && $user->uses_two_factor_auth) {
         return $this->redirectForTwoFactorAuth($request, $user);
     }
     return redirect()->intended($this->redirectPath());
 }