mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Many UI Updates and Performance Tweaks
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user