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,
--------------------------------------------------------------------------------