// Request is invalid
$requestInstance->requestIsValid(false);
- // Add a message to the response
- $responseInstance->addFatalMessage('goverment_pays_no_training');
+ // Redirect to configured URL
+ $responseInstance->redirectToConfiguredUrl('login_goverment_training_failed_url');
- // Abort here
- return false;
+ // Stop processing here
+ exit();
} // END - if
}
}