Apply minor suggestions from code review

Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
This commit is contained in:
LogicalPhallacy
2019-03-25 21:40:10 -07:00
committed by GitHub
parent 86772bd7bd
commit 740c95d557
2 changed files with 113 additions and 112 deletions

View File

@@ -373,7 +373,7 @@ namespace Emby.Server.Implementations.Library
private IPasswordResetProvider GetPasswordResetProvider(User user)
{
return GetPasswordResetProviders(user).First();
return GetPasswordResetProviders(user)[0];
}
private IAuthenticationProvider[] GetAuthenticationProviders(User user)