mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 10:44:50 +03:00
Use EventManager for AuthenticationSuccess, AuthenticationFailure (#8960)
This commit is contained in:
@@ -157,7 +157,9 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
await UpdateUserInternalAsync(dbContext, user).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
OnUserUpdated?.Invoke(this, new GenericEventArgs<User>(user));
|
||||
var eventArgs = new UserUpdatedEventArgs(user);
|
||||
await _eventManager.PublishAsync(eventArgs).ConfigureAwait(false);
|
||||
OnUserUpdated?.Invoke(this, eventArgs);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
||||
Reference in New Issue
Block a user