Greetings.
I have searched high and low and can’t seem to find a lesson/tutorial/post on the following procedure.
I have programmed a members backup using php, mysql, bootstrap and the SmartAdmin template from WrapBootStrap.
Everything is awesome, but when we need to get into one of our users backend, either to replicate a problem, or to view one of their invoices, or to test a new user only feature - we have to get that users passwords from them, then log out as admin and log in as that user.
There is a wordpress “switch user” plugin, so I know it is possible to create something with which an admin (there are two of us), can click a button to switch our access (Session) to that particular user, and then have a link to switch back again to our own admin login (Session).
Can anyone give me a hint on where to look (lesson, video, tutorial, reference material) for how to write this particular code?
I believe what I want to do is to change the Session (clear my admin session, lock in that users credentials as a session, then revert back)?
Any point in the right direction would be much appreciated.