protected function abortIfExpired($id, $userData)
    {
        if (isset($userData['pwreset']) && $userData['pwreset']) {
            $this->session->addFlash("error", "Please set a new password.");
            $this->picoAuth->getContainer()->get('PasswordReset')->startPasswordResetSession($id);
            $this->picoAuth->redirectToPage("password_reset");
        }
    }