]> scripts.mit.edu Git - www/ikiwiki.git/commitdiff
* Fix a bug that prevented clearing email or subscriptions.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 30 Apr 2007 21:32:24 +0000 (21:32 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 30 Apr 2007 21:32:24 +0000 (21:32 +0000)
IkiWiki/Plugin/passwordauth.pm
debian/changelog
doc/bugs/clearing_email_in_prefs.mdwn

index 86a5ba49e964fd6456a4249e0b82ae4dff9e6c0d..a2e774c36e96c694207ec0505f2faddcdb7bc884 100644 (file)
@@ -189,7 +189,7 @@ sub formbuilder (@) { #{{{
                if ($form->submitted eq "Save Preferences" && $form->validate) {
                        my $user_name=$form->field('name');
                        foreach my $field (qw(password)) {
-                               if (defined $form->field($field) && length $form->field($field)) {
+                               if (defined $form->field($field)) {
                                        IkiWiki::userinfo_set($user_name, $field, $form->field($field)) ||
                                                error("failed to set $field");
                                }
index 7cfc2b12dc62a555de2493e462e09757538fdd2b..09ccb42aabb0ec61e12474a62aea291d40b9a9dc 100644 (file)
@@ -4,8 +4,9 @@ ikiwiki (2.1) UNRELEASED; urgency=low
     styled using the stylesheet, rather than by creating signin and prefs
     templates.
   * Make the openid login form nicely styled.
+  * Fix a bug that prevented clearing email or subscriptions.
 
- -- Joey Hess <joeyh@debian.org>  Mon, 30 Apr 2007 17:53:10 -0400
+ -- Joey Hess <joeyh@debian.org>  Mon, 30 Apr 2007 18:04:02 -0400
 
 ikiwiki (2.00) unstable; urgency=low
 
index 8ed7bc4ce764fc358b84406245d6000f7f1e3924..f03d9d902a6ee48b4d311c01c34bbe66d8150c02 100644 (file)
@@ -1,3 +1,5 @@
 If a user has an email address in their prefs, and they try to clear it,
 the prefs seem to save ok, and the email seems to be gone, but reloading
 the prefs page will reveal the old email address.
+
+Also affected subscriptions.. [[done]]