Combine if statements

This commit is contained in:
Patrick Barron 2021-06-18 17:09:39 -04:00
parent 3264575047
commit 4206c0e091

View File

@ -123,10 +123,6 @@ namespace Jellyfin.Server.Implementations.Security
if (device != null) if (device != null)
{ {
authInfo.IsAuthenticated = true; authInfo.IsAuthenticated = true;
}
if (device != null)
{
var updateToken = false; var updateToken = false;
// TODO: Remove these checks for IsNullOrWhiteSpace // TODO: Remove these checks for IsNullOrWhiteSpace