Re: [symfony-users] How to get security user in PHP template

2011-04-05 Thread Christophe COEVOET
Le 05/04/2011 21:58, pzwosta a écrit : Hi, In the acme demo (PR 9) I saw: {{ app.user ? app.user.username : 'Anonymous' }} In my php-template I found out there was a session attribute _security_profile that contains the username and password when the user is looged in but I can't find the corre

[symfony-users] How to get security user in PHP template

2011-04-05 Thread pzwosta
Hi, In the acme demo (PR 9) I saw: {{ app.user ? app.user.username : 'Anonymous' }} In my php-template I found out there was a session attribute _security_profile that contains the username and password when the user is looged in but I can't find the correct way to get it "unserialized". The docu