/**
  * Confirm a new user registration
  *
  * @url GET /user/confirmregistration/
  */
 public function confirmRegistration()
 {
     $email = $_GET['email'];
     $registrationToken = $_GET['registrationCode'];
     if ($email != null && $registrationToken != null && parent::ConfirmUserRegistration($email, $registrationToken)) {
         return "OK";
     } else {
         throw new RestException(403, "Forbidden - The user is already confirmed or the specified data is not valid.");
     }
 }