LJ::create_account — Creates a new basic account. Note: This function is not really too useful but should be extended to be useful so htdocs/create.bml can use it, rather than doing the work itself.
LJ::create_account
(dbarg, opts);
dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).
opts. hashref containing keys 'user', 'name', and 'password'
cgi-bin/ljlib.pl
integer of userid created, or 0 on failure.