]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/passwordauth.pm
* Finally apply the index.html patch, with thanks to everyone who worked
[git.ikiwiki.info.git] / IkiWiki / Plugin / passwordauth.pm
index 6d395324ecf28f0cec843584b4a55881d932f980..e0aa72a196152e3c38d2d6bf74fbe64fc75854e7 100644 (file)
@@ -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");
                                }
                        }
                }