Want Joomla Super Admin to log in to other registered accounts - how to do this?

We have created a highly customizable site based on Joomla 1.5 and we want our super administrator to be able to register with registered user accounts, so that we can provide better phone support and help them set up their accounts remotely.

This will obviously take some coding. Ideally, we want to get a link from the administrator, which will lead us to the interface and will automatically log in as a registered user. We will block it by IP address, and we will also have some kind of password.

Where is login processed? It looks like / components / com _user / controller.php calls a function called $ mainframe → login (); Where is this feature located?

Our idea is to send a dummy login form along with an additional superuser password field. Then we will change the login code to authorize the login, if a password is present, and the correct IP address.

Any words of wisdom or caution with this approach?

+3
source share
2 answers

Actually there is a plugin that will do just that: http://extensions.joomla.org/extensions/access-a-security/authentication/4806

+2
source

. , ( , OpenID, ..). Joomla , status $response JAUTHENTICATE_STATUS_SUCCESS. $response onAuthenticate. plugins/authentication/example.php . , plugins/authentication/joomla.php .

Joomla, .

, , , .

0

Source: https://habr.com/ru/post/1715946/


All Articles