New: Many UI Updates and Performance Tweaks

This commit is contained in:
Qstick
2019-04-12 23:25:58 -04:00
parent b24a40797f
commit 6275737ced
389 changed files with 7961 additions and 5635 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Xml.Linq;
using NzbDrone.Common.Disk;
@@ -73,6 +73,11 @@ namespace NzbDrone.Core.Authentication
public User FindUser(string username, string password)
{
if (username.IsNullOrWhiteSpace() || password.IsNullOrWhiteSpace())
{
return null;
}
var user = _repo.FindUser(username.ToLowerInvariant());
if (user == null)