Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Login from API

  • lstesting
  • lstesting's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months 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.

Lime-years ahead

Online-surveys for every purse and purpose