Page 1 of 1

How to get logged in user and password value?

Posted: Sun Mar 10, 2024 11:43 pm
by satokoba

Hi,
Please let me know if anyone can help me?

I need to get the User + Password (login) and save it in the session variable.. I got the User but the Password I've been trying for 2 weeks and nothing works! I have no knowledge in OO.

*** In Login Page >> User_LoggedIn

// User Logged In event
function User_LoggedIn($usr) {
//echo "User Logged In";

// User Ok 
$_SESSION['userlogins'] = CurrentUserName();

// Password ??

}

Thank you for any help!


Re: How to get logged in user and password value?

Posted: Mon Mar 11, 2024 12:40 pm
by arbei

You cannot get password from User_LoggedIn server event, you may use User_CustomValidate.


Re: How to get logged in user and password value?

Posted: Tue Mar 12, 2024 8:10 pm
by satokoba

I tried and I couldn't use this function... I managed to use the User/Pass variables via POST and with that I created the variable to authenticate in another application...