protected function handleUserWasAuthenticated(Request $request, $throttles)
    {
        if ($throttles) {
            $this->clearLoginAttempts($request);
        }

        $user = auth()->user();

        if ($user instanceof User && $user->adldapUser instanceof AdldapUser) {
            $this->handleLdapUserWasAuthenticated($user, $user->adldapUser);
        }

        flash()->success('Success!', "You're logged in!");

        return redirect()->intended($this->redirectPath());
    }