Generating a session programatically (auto-login from another software)
Posted: 23 Aug 2016, 15:17
I'm developing a server control panel and I wish to integrate csf into it (basically a link that opens a new page with CSF's integrated UI). Since I don't want users to have to enter another username and password just to login into csf, I need it to login automatically.
Where can I find the logic that generates the sessions in /var/lib/csf/ui/ui.session or is there an example of how can this be achieved? I'm trying to do so because I wish to avoid modifying the stock CSF files.
Where can I find the logic that generates the sessions in /var/lib/csf/ui/ui.session or is there an example of how can this be achieved? I'm trying to do so because I wish to avoid modifying the stock CSF files.