Skip to content

Task #179501 feat: Impersonate Login API#33

Merged
manojLondhe merged 8 commits intotechjoomla:release-2.1.0from
praneettekdi:impersonate-login-api
Feb 14, 2022
Merged

Task #179501 feat: Impersonate Login API#33
manojLondhe merged 8 commits intotechjoomla:release-2.1.0from
praneettekdi:impersonate-login-api

Conversation

@praneettekdi
Copy link

No description provided.

{
// Init variables
$obj = new stdclass;
$jinput = JFactory::getApplication()->input;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFactory => use non J prefix classses wherever available


if ($userId == null)
{
$model = FD::model('Users');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FD is older library of Easysocial.

WIll this work without ES when email is passed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No...I have added another function to fetch email

@manojLondhe manojLondhe merged commit f9bb5f0 into techjoomla:release-2.1.0 Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants