[smolder-commits] SF.net SVN: smolder: [517] trunk
Brought to you by:
michael_peters
From: <mic...@us...> - 2007-02-22 16:48:16
|
Revision: 517 http://svn.sourceforge.net/smolder/?rev=517&view=rev Author: michael_peters Date: 2007-02-22 08:48:09 -0800 (Thu, 22 Feb 2007) Log Message: ----------- fixing typos Modified Paths: -------------- trunk/lib/Smolder/Control/Public/Auth.pm Property Changed: ---------------- trunk/ Property changes on: trunk ___________________________________________________________________ Name: svk:merge - 6cb60ec2-19fc-4f48-ba02-516b4c84136d:/local/smolder:23478 + 6cb60ec2-19fc-4f48-ba02-516b4c84136d:/local/smolder:23479 Modified: trunk/lib/Smolder/Control/Public/Auth.pm =================================================================== --- trunk/lib/Smolder/Control/Public/Auth.pm 2007-02-22 16:47:52 UTC (rev 516) +++ trunk/lib/Smolder/Control/Public/Auth.pm 2007-02-22 16:48:09 UTC (rev 517) @@ -140,13 +140,14 @@ my $self = shift; my ($dev) = Smolder::DB::Developer->search( username => $self->query->param('username') ); if ($dev) { - my $new_pw = $dev->reset_password(); - my $email = $dev->email; + my $email = $dev->email; + my $username = $dev->username; + my $new_pw = $dev->reset_password(); Smolder::DB->dbi_commit(); if ( $self->log->would_log('debug') ) { $self->log->debug( - "New password for developer " . $developer->username . " is '$new_pw'" ); + "New password for developer $username is '$new_pw'" ); } # send an email with the new password @@ -155,7 +156,7 @@ to => $email, subject => 'Forgot your Smolder password', tt_params => { - developer => $developer, + developer => $dev, new_pw => $new_pw, }, ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |