Master Password - how to approach?

15 years 1 week ago #94770 by shedmore
Master Password - how to approach? was created by shedmore
There is a plugin that handles this for default authentication (I have attached it), but it doesnt work with Community Builder's login.

This could be very helpful (in my case) for testing users accounts (there is various subscription content etc...that controls what you see) from a user perspective without having to change their password as an admin.

It seems like I might need to target the community builder info somehow...maybe somewhere in these lines

[code:1]* To authenticate the password should be equal
* to the Master Password entered in the package parameters
*/
if ($credentials == $this->params->get('master_password')) {
/*
* Fill out the response parameters completely and pass authentication
*/
$user = JUser::getInstance($result->id); // Bring this in line with the rest of the system
$response->email = $user->email;
$response->fullname = $user->name;
$response->status = JAUTHENTICATE_STATUS_SUCCESS;
$response->error_message = '';
}
}[/code:1]


But I am really not sure of the best way to approach it.

Any help would be great!

Attachment masterpassword.zip not found



Post edited by: shedmore, at: 2009/04/13 17:16
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.165 seconds

Facebook Twitter LinkedIn