Closed djphi closed 3 years ago
Hello. Is there a way to get a current user and no need to use $this->data in all function? On ion auth 3 i could use $this->ionAuth->user()->row(); at my template, but not now.
You can use $this->ionAuth->user($id)->row() in your controller and then pass through the user data object to your template.
Closing due to inactivity. Feel free to re-open if this is still an issue.
Hello. Is there a way to get a current user and no need to use $this->data in all function? On ion auth 3 i could use $this->ionAuth->user()->row(); at my template, but not now.