login($email, $password)){
echo "
";
exit;
}else{
echo "
";
}
}else if( isset($_GET['reset']) ) {
//reset password
$client["client"] = array("email" => $email);
$data_string = json_encode($client);
$response = $plugin->apiCall("forgot_password", "POST", $data_string);
$plugin->show_response ($response, "We've sent an e-mail with further instructions to $email.");
}
?>