Automatically migrated from Gitolite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
323 B

<?php
require("include/base.php");
$sUser = new User(0);
$sUser->uUsername = "test";
$sUser->uPassword = "test";
$sUser->uDisplayName = "Test user";
$sUser->uEmailAddress = "test@test.com";
$sUser->uIsActivated = true;
$sUser->uIsAdmin = true;
$sUser->GenerateSalt();
$sUser->GenerateHash();
$sUser->InsertIntoDatabase();