-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.10, 3.2.5, 3.3, 3.4
-
MOODLE_27_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
master-
MDL-51892 -
When reviewing the site logs, the description for the "User login failed" event is "Login failed for the username 'bob' for the reason with id '3'."
"Reason id '3'" doesn't mean anything to an administrator viewing the logs. To find out what '3' refers to requires looking at lib/authlib.php and deciphering the constants.
The event description should instead show a proper description of the error, eg "Login failed for the username 'bob' with status:
{user doesn't exist | user is suspended | ...}" etc
Component report 2015-10-23 11-47-12.png
/report/log/user.php?id=123&course=1&mode=all
- Testing discovered
-
MDL-60565 Log event descriptions are not translated
- Closed