eventlog: fix display of directoryserver login event
This commit is contained in:
@@ -3978,9 +3978,11 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
case ACTION_USER_LOGIN:
|
||||
if (data.mailboxId) {
|
||||
return 'User ' + (data.user ? data.user.username : data.userId) + ' logged in to mailbox ' + data.mailboxId;
|
||||
} else {
|
||||
} else if (data.appId) {
|
||||
app = this.getCachedAppSync(data.appId);
|
||||
return 'User ' + (data.user ? data.user.username : data.userId) + ' logged in to ' + (app ? app.fqdn : data.appId);
|
||||
} else { // can happen with directoryserver
|
||||
return 'User ' + (data.user ? data.user.username : data.userId) + ' authenticated';
|
||||
}
|
||||
|
||||
case ACTION_USER_LOGIN_GHOST:
|
||||
|
||||
Reference in New Issue
Block a user