diff options
Diffstat (limited to 'IkiWiki/Plugin/passwordauth.pm')
-rw-r--r-- | IkiWiki/Plugin/passwordauth.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/passwordauth.pm b/IkiWiki/Plugin/passwordauth.pm index 6d395324e..e0aa72a19 100644 --- a/IkiWiki/Plugin/passwordauth.pm +++ b/IkiWiki/Plugin/passwordauth.pm @@ -187,7 +187,8 @@ sub formbuilder (@) { #{{{ my $user_name=$form->field('name'); foreach my $field (qw(password)) { if (defined $form->field($field) && length $form->field($field)) { - IkiWiki::userinfo_set($user_name, $field, $form->field($field)) || error("failed to set $field"); + IkiWiki::userinfo_set($user_name, $field, $form->field($field)) || + error("failed to set $field"); } } } |