[Jifty-commit] r3237 - jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat May 12 17:48:26 EDT 2007


Author: ruz
Date: Sat May 12 17:48:20 2007
New Revision: 3237

Modified:
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm

Log:
* return id of the user from action

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm	Sat May 12 17:48:20 2007
@@ -159,6 +159,7 @@
 
     # Set up our login message
     $self->result->message( $self->login_message($user));
+    $self->result->content( id => $user->id );
 
     # Actually do the signin thing.
     Jifty->web->current_user(Jifty->app_class('CurrentUser')->new( id => $user->id));


More information about the Jifty-commit mailing list