Hello, I’m integrating SimplePOS into a larger PHP application to handle my company’s point of sale needs. However I need to override the authentication part to enable the user to login only in our PHP application and not have to login separately to SimplePOS. Can you please assist me in knowing which model or controller to override in order to do this properly? If you can point me to the correct file and folder to add an external API call that will return a user’s login and name and set the user as logged in on SimplePOS, that would be a huge help.
Thanks!!
- MSAnswered
Hello,
You can check the
app/libraries/Ion_auth.php
andapp/models/admin/Auth_model.php
The
login
method of auth model verifies the user and sets session. You can modify the item code as you need. Please be informed that we don’t offer support for modifications or modified versions.Thank you
- Login to Reply