Login from API

More
1 year 1 day ago #191708 by lstesting
Login from API was created by lstesting
Hi all and sorry for being very new to LS,
I'm able to successfully use RemoteControl 2 API to call some functions but I was wondering if I could quickly modify the remotecontrol_handle get_session_key function (or doLogin or _jumpStartSession as necessary) to be creating a real user session instead of this temporary one - meaning that changing page and going to index.php/admin/index while keeping the browser open would not trigger a new login request since the user is already logged in.

I've tried invoking Yii::app()->user->login($identity) with no success. I'm sorry if this has been discussed before but I haven't found anything that does the trick yet

Thanks!
The topic has been locked.
LimeSurvey Partners

Start now!

Just create your account and start using Limesurvey today.

Register now