[Codestriker-commits] CVS update: codestriker/lib/Codestriker/Action ResetPassword.pm
Brought to you by:
sits
|
From: <si...@us...> - 2008-09-12 00:08:16
|
User: sits
Date: 08/09/11 17:08:15
Modified: lib/Codestriker/Action ResetPassword.pm
Log:
Fixed typo for handlign case where reset password was done on a non-existant account.
Index: ResetPassword.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Action/ResetPassword.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ResetPassword.pm 8 Sep 2008 05:17:19 -0000 1.2
+++ ResetPassword.pm 12 Sep 2008 00:08:15 -0000 1.3
@@ -26,8 +26,8 @@
# Check that the user account exists.
if (!Codestriker::Model::User->exists($email)) {
my $feedback = "Unknown user $email specified.";
- my $login_url = $url_builder->login(email => $email,
- feedback => $feedback);
+ my $login_url = $url_builder->login_url(email => $email,
+ feedback => $feedback);
print $query->redirect(-URI => $login_url);
return;
}
|