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

LPS-52170 #23184

Closed
wants to merge 3 commits into from
Closed

LPS-52170 #23184

wants to merge 3 commits into from

Conversation

mikakoivisto
Copy link

This seems to be the only viable fix without a major refactor pulling the authentication code out of UserLocalServiceImpl. If you try to throw the UserLockoutException in UserLocalServiceImpl when the lockout happens it will cause the transaction to rollback and thus the lockout is not saved in database allowing the user to try to login again.

CC @jonathanmccann

@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: 4264d74...f189e89

@brianchandotcom
Copy link
Owner

Any way to unit/integration test this?

@brianchandotcom
Copy link
Owner

@mikakoivisto @jonathanmccann please send an integration test. Thx.

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.

4 participants