Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.0-b1
-
Component/s: None
-
Labels:None
Description
When a user logs into the wrong company with successful login credentials, a success log is added to the `log_users` table. However, since they logged into the wrong company, the login was a failure. The result status should indicate this failure in the log.
This issue primarily affects staff appearing in the System Overview plugin when they login to the wrong company.
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Rank | Ranked higher |
Fix Version/s | 3.5.3 [ 10708 ] |
Description | When a user logs into the wrong company with successful login credentials, a success log is added to the `log_users` table. However, since they logged into the wrong company, the login was a failure. The result status should indicate this failure in the log. |
When a user logs into the wrong company with successful login credentials, a success log is added to the `log_users` table. However, since they logged into the wrong company, the login was a failure. The result status should indicate this failure in the log.
This issue primarily affects staff appearing in the System Overview plugin when they login to the wrong company. |

Status | Open [ 1 ] | In Progress [ 3 ] |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Assignee | Tyson Phillips [ tyson ] | Jonathan Reissmueller [ jonathan ] |
Fix Version/s | 4.0.0 [ 10603 ] |

Status | In Review [ 5 ] | Closed [ 6 ] |
Successful logins to the wrong company are handled during post auth by the login controllers.
We should consider updating the login rules to cause an error regarding the invalid company if the user is a client/staff and do not belong to the company.