AnsweredAssumed Answered

REST Login add variable to $_SESSION

Question asked by Francesco Orefice on Sep 18, 2015
Latest reply on Sep 18, 2015 by André Lopes
Hi guys,

i followed this tutorial (http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_7.5/70_API/Web...) to implement a REST login to my Sugar installation. Now i want to add a variable to $_SESSION called blowfish_password ($_SESSION['blowfish_password']) during the login. 

I did this in normal login adding $_SESSION['blowfish_password'] = blowfishEncode('mykey', $password); to SugarAuthenticate.php and works well...

but how can i replicete this when the login is executed do by REST???

Thanks

Outcomes