Monday, September 29, 2008

Simple question about Auth Component

Hi,
I am very new with CakePHP and I am trying to set up an authentication
system using the Auth component provided.

How can I show the logged user's name on a view ? Let's say the user
John logged in successfully, I would like to put something like
"Logout [John]" in the default layout. How can I get this "John"
string ?

Thank you,
Jérémy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: