pub async fn create_user(
username: &str,
plaintext: &str,
context: &PasswordContext,
database: Arc<Database>,
) -> Result<AdminUser, UserError>Expand description
Creates an operator.
Order matters: the policy is checked before the duplicate lookup, and the duplicate lookup before the (expensive) hash, so a rejected request never pays 600 000 iterations.