Hello, community.
in whmcs v8 this logic for user / client authorization doesn't work
$ _SESSION ['uid'] = $ entry-> id;
$ _SESSION ['upw'] = \ WHMCS \ Authentication \ Client :: generateClientLoginHash ($ entry-> id, '', $ entry-> password, $ entry-> email);
and I check the SESSION array after login as owner from admin section and find new parameter "login_auth_tk", in older whmcs versions this parameter does not exist
[login_auth_tk] => {
"id": uid,
"email": user_email,
"password":?, (should be the database password (tblusers-> password) or something else?)
"userip": userip,
"timestamp": time (),
"hash": \ WHMCS \ Authentication \ Client :: generateClientLoginHash ($ entry-> id, '', $ entry-> password, $ entry-> email)
}
I was unable to authorize my clients after a successful reply from a social network.
Maybe someone knows what needs to be done, what to transfer / put into the session to authorize the user in the system and redirect the user to the clientarea page?
thanks for the help