Jibeji Posted July 28, 2017 Share Posted July 28, 2017 Hello, The users were able to log in IPS via a third party script which was, basically: require_once(dirname(__FILE__).'/forums/init.php'); $IPSLogin = new \IPS\Login\Internal; $IPSLogin->init(); $member = $IPSLogin->authenticate(array('auth' => $_POST['username'], 'password' => $_POST['password'])); $expire = new \IPS\DateTime; $expire->add( new \DateInterval( 'P7D' ) ); \IPS\Request::i()->setCookie( 'member_id', $member->member_id, $expire ); \IPS\Request::i()->setCookie( 'pass_hash', $member->member_pass_hash, $expire ); \IPS\Request::i()->setCookie( 'hasJS', true, $expire ); This does not work anymore since the 4.2.1 upgrade. I noticed that pass_hash cookie is not longer used, but a new cookie is set after login with IPS: login_key As the login_key does not seem to be part of the $member object, do you know how can I set that cookie? Thanks for your help. Link to comment Share on other sites More sharing options...
Jibeji Posted August 3, 2017 Author Share Posted August 3, 2017 Nobody? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.