aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Setup/Automator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Setup/Automator.pm')
-rw-r--r--IkiWiki/Setup/Automator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm
index 79a610e20..9da594e99 100644
--- a/IkiWiki/Setup/Automator.pm
+++ b/IkiWiki/Setup/Automator.pm
@@ -144,7 +144,7 @@ sub import (@) {
# 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);