mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
makes recent unread and category pages a lot faster, added logging when a user changes their username
This commit is contained in:
@@ -21,6 +21,10 @@ var fs = require('fs'),
|
||||
log(uid,'changed email from "' + oldEmail + '" to "' + newEmail +'"');
|
||||
}
|
||||
|
||||
events.logUsernameChange = function(uid, oldUsername, newUsername) {
|
||||
log(uid,'changed username from "' + oldUsername + '" to "' + newUsername +'"');
|
||||
}
|
||||
|
||||
events.logAdminLogin = function(uid) {
|
||||
log(uid, 'logged into admin panel');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user