fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-08-19 03:09 am

[dw-free] Email address reset does not work

[commit: http://hg.dwscoalition.org/dw-free/rev/bd0e690c7319]

http://bugs.dwscoalition.org/show_bug.cgi?id=3777

Fix the URL when resetting an email address using admin tools -- was missing
a "."

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
diff -r e21f46b12510 -r bd0e690c7319 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Fri Aug 19 11:02:25 2011 +0800
+++ b/cgi-bin/LJ/User.pm	Fri Aug 19 11:08:59 2011 +0800
@@ -4678,7 +4678,7 @@
 
     if ( defined $emailsucc ) {
         my $aa = LJ::register_authaction( $u->id, "validateemail", $newemail );
-        my $auth = $aa->{aaid} . $aa->{authcode};
+        my $auth = "$aa->{aaid}.$aa->{authcode}";
         my $sent = LJ::send_mail( {
             to => $newemail,
             from => $LJ::ADMIN_EMAIL,
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org