diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-03-09 05:57:38 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-03-13 22:33:28 +0100 |
| commit | a8ed753f6c890f74d3a70c2653ac5548d2399737 (patch) | |
| tree | f3ce12a6cdd920630930699eb112656f0227b7f6 /Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs | |
| parent | 260b48ef9d5547581f0499152b52317babc5f86f (diff) | |
FxCop -> Net Analyzers (part 2)
Diffstat (limited to 'Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs b/Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs index 2f9f44ed6..8b0bd84c6 100644 --- a/Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs +++ b/Jellyfin.Server.Implementations/Events/Consumers/Security/AuthenticationSucceededLogger.cs @@ -29,20 +29,20 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Security } /// <inheritdoc /> - public async Task OnEvent(GenericEventArgs<AuthenticationResult> e) + public async Task OnEvent(GenericEventArgs<AuthenticationResult> eventArgs) { await _activityManager.CreateAsync(new ActivityLog( string.Format( CultureInfo.InvariantCulture, _localizationManager.GetLocalizedString("AuthenticationSucceededWithUserName"), - e.Argument.User.Name), + eventArgs.Argument.User.Name), "AuthenticationSucceeded", - e.Argument.User.Id) + eventArgs.Argument.User.Id) { ShortOverview = string.Format( CultureInfo.InvariantCulture, _localizationManager.GetLocalizedString("LabelIpAddressValue"), - e.Argument.SessionInfo.RemoteEndPoint), + eventArgs.Argument.SessionInfo.RemoteEndPoint), }).ConfigureAwait(false); } } |
