Now I have a project with pyrocms
, I have a problem to get the current id user in module's controller, does anyone know how to get it?
How to get Currently logged user's ID in pyrocms?
Asked Answered
This returns null
for me.
I know I'm logged in as on my template I'm echoing
{{ user:display_name }}
Just fine.
Oddness
© 2022 - 2024 — McMap. All rights reserved.
$this->user->id;
– Malignant