04-18-2018, 06:14 PM
So here is a little background. I am using UserSpice to setup a webview mobile app. Best practice is to make a user not have to login everytime they use it. I have modified the login to always run the "Remember Me" cookie and that works. However, most people want to use the facebook login. Anyone want to help me figure out how to make the cookie when someone logs in using Facebook. I have tried adding the below to the fb-callback.php right before the redirects
$hash = Hash::unique();
Cookie::put($this->_cookieName, $hash, Config::get('remember/cookie_expiry'));
It did not work. Any suggestions or help please?
$hash = Hash::unique();
Cookie::put($this->_cookieName, $hash, Config::get('remember/cookie_expiry'));
It did not work. Any suggestions or help please?