[Jifty-commit] jifty branch, master, updated. 52fdca1e2874a99f02f13df71936b52fdc104feb
Jifty commits
jifty-commit at lists.jifty.org
Thu Apr 22 00:48:17 EDT 2010
The branch, master has been updated
via 52fdca1e2874a99f02f13df71936b52fdc104feb (commit)
from 309214972875649dc9282772d0c74e4f0b0d079e (commit)
Summary of changes:
.../Password/Action/ResetLostPassword.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 52fdca1e2874a99f02f13df71936b52fdc104feb
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Apr 22 00:48:15 2010 -0400
We still need to know the CurrentUser class
diff --git a/lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm b/lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm
index 2896a7d..f3000aa 100755
--- a/lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm
+++ b/lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm
@@ -78,6 +78,7 @@ sub take_action {
$u->set_email_confirmed('1');
# Log in!
$self->result->message(_("Your password has been reset. Welcome back."));
+ my $CurrentUser = Jifty->app_class('CurrentUser')
Jifty->web->current_user( $CurrentUser->new( id => $u->id ) );
return 1;
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list