lastlogin shield - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34) +--- Thread: lastlogin shield (/showthread.php?tid=87820) |
lastlogin shield - destor77 - 06-04-2023 I'm trying to get the latest shield login. I do the following: PHP Code: $tmpUser = auth()->getProvider(); This returns me: But when I want to save it to an array: PHP Code: $tmpUser = auth()->getProvider(); it returns me this error: and I don't understand why with d or print_r/var_dump it prints the value, but I can't assign it to the array RE: lastlogin shield - datamweb - 09-03-2023 Hi @destor77, try the following method: PHP Code: |