I have to log a user automatically when certain events happens, example when a user forgot
his password and reset it successfully. By client requirements a have to use a file embedded
in com_jumi
to make the login and not com_user
.
I'm using the function login of JSite object as in: $mainframe->login($credentials, $options)
and that method is returning true
, then I make a redirect $mainframe->redirect()
but in the landing page there is no user logged in???
Am I missing some step(s) to accomplish this???