[Jifty-commit] r4659 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Dec 10 00:46:51 EST 2007


Author: jesse
Date: Mon Dec 10 00:46:50 2007
New Revision: 4659

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/LetMe.pm

Log:
 r72844 at pinglin:  jesse | 2007-12-10 00:45:22 -0500
 * If we have a user object already, use it to fetch the email address when generating a LetMe


Modified: jifty/trunk/lib/Jifty/LetMe.pm
==============================================================================
--- jifty/trunk/lib/Jifty/LetMe.pm	(original)
+++ jifty/trunk/lib/Jifty/LetMe.pm	Mon Dec 10 00:46:50 2007
@@ -93,7 +93,7 @@
 
     # get user's generic secret
     my $user;
-    return '' unless ( $user = $self->_user_from_email($self->email) );
+    return '' unless ( $user = $self->user || $self->_user_from_email($self->email) );
     return '' unless ($user->auth_token);
 
 


More information about the Jifty-commit mailing list