User tests: Successful: Unsuccessful:
Move the return line into if block.
I found that if plugin return FALSE from onUserBeforeLogin, Application will still return true. This situation should mark as failure and goto onUserLoginFailure.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Labels |
Added:
?
|
||
Must test in a custom plugin or custom login code. This issue will only happened if a developer attempts to use $app->login() to make their own login flow in 3rd party components.
I'm still thinking how to attach simple code to reproduce this issue.
| Title |
|
||||||
@asika32764 whats the state of this Pull Request?
To reproduce the issue in core:
Enable System - User Log plugin.
Try to login to administrator area with unauthorized user (should see You do not have access to the Administrator section of this site. message).
Check administrator/logs/error.php log. The login failure should be logged but it's not.
I have tested this item
| Labels |
Removed:
J3 Issue
|
||
I have tested this item
| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
| Labels |
Added:
?
|
||
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-06-05 16:50:01 |
| Closed_By | ⇒ | HLeithner |
thx
Did you check what happens if one login works (e.g. the default Joomla! login) and another fails...? Is the user logged in after?