Re: login to custom php app using icms login credential ?
Posted by skenow on 1540148172
<p>So - you want to have your login be the login from your ImpressCMS site, with all their users and passwords, and the rest of the content be restricted, but not an icms site?</p>
<p>Then, each of your pages must check for a valid user, like your ICMS site does (icms::$user is set and meets your criteria).</p>
<p>To access this information, the easiest way I see is to require mainfile.php in all your pages, which will give you a connection to the db that holds the users and the salt key stored in the trust path to complete the authorization.</p><!-- input filtered -->
This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=5844&post_id=50567