LJ::create_account

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.

Use

LJ::create_account(opts);

Arguments

  • opts. hashref containing keys 'user', 'name', 'password', 'email', 'caps', 'journaltype'.

Source:

cgi-bin/LJ/User.pm

Returns:

integer of userid created, or 0 on failure.