Login from API

1 week 5 days 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


Please Log in or Create an account to join the conversation.

LimeSurvey Partners

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!