nesste
nesste

How can I get the id of the authenticated user? I tried Auth::User()->id but it doesn't work.

jekinney
jekinney

http://octobercms.com/plugin/rainlab-user Under document tab shows how to get user.name.

put user.id instead.

nesste
nesste

Yes but this is for the markup part, I need it for the code part.

nesste
nesste

I figure it out. It was Auth::getUser()->id

jekinney
jekinney

Oops, sorry. Glad you got it!

1-5 of 5