aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/passwordauth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/passwordauth.pm b/IkiWiki/Plugin/passwordauth.pm
index b70f9b788..94c5b0492 100644
--- a/IkiWiki/Plugin/passwordauth.pm
+++ b/IkiWiki/Plugin/passwordauth.pm
@@ -207,7 +207,7 @@ sub formbuilder_setup (@) {
}
}
elsif ($form->title eq "preferences" &&
- IkiWiki::openiduser($session->param("name"))) {
+ ! IkiWiki::openiduser($session->param("name"))) {
$form->field(name => "name", disabled => 1,
value => $session->param("name"), force => 1,
fieldset => "login");