Login from API

Mehr
4 Monate 15 Stunden her #191708 von lstesting
Login from API wurde erstellt von 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!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha