Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import the user plugins for onUserLoginFailure #2761

Closed
wants to merge 3 commits into from

Conversation

pasamio
Copy link
Contributor

@pasamio pasamio commented Jan 6, 2014

The onUserLoginFailure trigger is a user plugin method however on the failure code path, it isn't loaded. So this changes that to put it on the main code path ahead of the failure check.

The onUserLoginFailure trigger is a user plugin method however on the failure code path, it isn't loaded. So this changes that to put it on the main code path ahead of the failure check.
@betweenbrain
Copy link
Contributor

Thanks Sam!

This seems like a logical fix. Is there a tracker item for this and/or
testing instructions?

Best,

Matt Thomas
@betweenbrain
http://matt-thomas.me/
http://betweenbrain.com/
https://github.com/betweenbrain

Sent from mobile. Please pardon any typos or brevity.
On Jan 6, 2014 12:37 PM, "Sam Moffatt" notifications@github.com wrote:

The onUserLoginFailure trigger is a user plugin method however on the
failure code path, it isn't loaded. So this changes that to put it on the

main code path ahead of the failure check.

You can merge this Pull Request by running

git pull https://github.com/pasamio/joomla-cms patch-1

Or view, comment on, or merge it at:

#2761
Commit Summary

  • Import the user plugins for onUserLoginFailure

File Changes

Patch Links:


Reply to this email directly or view it on GitHubhttps://github.com//pull/2761
.

@pasamio
Copy link
Contributor Author

pasamio commented Jan 17, 2014

@roland-d
Copy link
Contributor

@test: works as expected. After applying the patch the onUserLoginFailure() is triggered in the frontend.

Is this supposed to be triggered in the backend as well?

There is a CS issue in the PR:

:10: trailing whitespace.
JPluginHelper::importPlugin('user');
warning: 1 line adds whitespace errors.

@pasamio
Copy link
Contributor Author

pasamio commented Jul 12, 2014

Fixed the whitespace error.

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.

None yet

4 participants