opensim-www

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 8  →  ?path2? @ 9
/account.php
@@ -30,9 +30,9 @@
echo '<p>Sorry, incorrect captcha. Please try again.</p>';
}
else {
$req = new KOS('http://127.0.0.1:10000', 'opensim');
$req = new wasRemoteAdmin('http://127.0.0.1:10000', 'opensim');
$uuid = UUID::v4();
$req->send('create user '.$first.' '.$last.' '.$password.' '.$email.' '.$uuid);
$req->admin_console_command('create user '.$first.' '.$last.' '.$password.' '.$email.' '.$uuid);
echo '<p>Account created successfully.</p>';
}
?>
/sendiar.php
@@ -15,8 +15,8 @@
$_POST["recaptcha_response_field"]);
 
if($resp->is_valid) {
$req = new KOS_Authenticate('http://127.0.0.1:10000', 'opensim');
$ret = $req->authenticate($first, $last, MD5($password), '1');
$req = new wasRemoteAdmin('http://127.0.0.1:10000', 'opensim');
$ret = $req->admin_authenticate_user($first, $last, MD5($password), '1');
$rep = new SimpleXMLElement($ret);
foreach($rep->params->param->value->struct->member as $member) {
if($member->name == "success" && $member->value->boolean == "0") {