Skip to content

Commit

Permalink
Cannot log in under Joomla! 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas K. Dionysopoulos committed Aug 15, 2017
1 parent 1f56b9e commit 9df4204
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Cannot create user account from social network login
* Email verification sent with unusable, untranslated strings
* Cannot log in under Joomla! 3.7

# 1.0.0

Expand Down
4 changes: 3 additions & 1 deletion plugins/system/sociallogin/helper/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class_exists('JAuthentication', true);
*/
$options = array(
'remember' => true,
'action' => 'core.login',
'action' => 'core.login.site',
);

if (SocialLoginHelperJoomla::isAdminPage())
Expand All @@ -414,6 +414,8 @@ class_exists('JAuthentication', true);

// The user is successfully logged in. Run the after login events
SocialLoginHelperJoomla::runPlugins('onUserAfterLogin', array($options), $app);

return;
}

// If we are here the plugins marked a login failure. Trigger the onUserLoginFailure Event.
Expand Down

0 comments on commit 9df4204

Please sign in to comment.