[Jifty-commit] r3258 - jifty/trunk/lib/Jifty/Plugin/OpenID

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat May 19 10:34:54 EDT 2007


Author: gugod
Date: Sat May 19 10:34:53 2007
New Revision: 3258

Modified:
   jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm

Log:
Should directly call current_user->username() as in CurrentUser.pm's
POD.


Modified: jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm	Sat May 19 10:34:53 2007
@@ -51,7 +51,7 @@
 
         if ( $user->id ) {
             # Set up our login message
-            $result->message( _("Welcome back, ") . $user->user_object->name . "." );
+            $result->message( _("Welcome back, ") . $user->username . "." );
 
             # Actually do the signin thing.
             Jifty->web->current_user($user);


More information about the Jifty-commit mailing list