mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Reduce log spam on failed logins
Failed logins already get logged higher up the call chain
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#nullable disable
|
||||
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System.Threading.Tasks;
|
||||
@@ -23,7 +21,7 @@ namespace MediaBrowser.Controller.Authentication
|
||||
|
||||
public interface IRequiresResolvedUser
|
||||
{
|
||||
Task<ProviderAuthenticationResult> Authenticate(string username, string password, User resolvedUser);
|
||||
Task<ProviderAuthenticationResult> Authenticate(string username, string password, User? resolvedUser);
|
||||
}
|
||||
|
||||
public interface IHasNewUserPolicy
|
||||
@@ -33,8 +31,8 @@ namespace MediaBrowser.Controller.Authentication
|
||||
|
||||
public class ProviderAuthenticationResult
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public required string Username { get; set; }
|
||||
|
||||
public string DisplayName { get; set; }
|
||||
public string? DisplayName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user