sub import (@) {
my $this=shift;
IkiWiki::Setup::merge({@_});
+ $config{setuptype}='Standard';
if (! $config{force_overwrite}) {
# Avoid overwriting any existing files.
# Create admin user(s).
foreach my $admin (@{$config{adminuser}}) {
- next if $admin=~/^http\?:\/\//; # openid
+ next if defined IkiWiki::openiduser($admin);
# Prompt for password w/o echo.
my ($password, $password2);