The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a little help - facebook login cookie
#1
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?
  Reply


Messages In This Thread
a little help - facebook login cookie - by tjones - 04-18-2018, 06:14 PM
a little help - facebook login cookie - by tjones - 04-23-2018, 10:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)