From: Adam Jimerson 
  I am trying to display display information about the user currently logged 
into my catalyst app but for some reason it is returning blank (or even null).  
I am trying to display the uniqid (user id) and username of the current user.  
From my template I am calling [% c.user.object.username %] and [% 
c.user.object.uniqid %] respectively.  I know that my authentication is working 
because the "$c->user_exists()" calls in my controller is passing. 






  You need to use:



  [% c.user.get('uniqid') %]

  and

  [% c.user.get('username') %]



  The c.user object also has other methods like id() and get_object() that 
might help you.



  Octavian.






_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to