Welcome Guest, Not a member yet? Register   Sign In
Flexi auth, how to switch logged in user?
#1

If I'm logged in as 'Master Admin' and want to be able to log-in as another user with one click(something as clicking on specific user from users list).

Flexi auth is used as authentication/login library.


I'm looking for some idea how to do that or where to start from?
Reply
#2

Did this by creating modified version of login() function:

file: flexi_auth_model.php
func: login()

Removed the password check and set new session by calling:
Code:
$this->set_login_sessions($user, TRUE)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB