This commit is contained in:
Jamie.Rees 2016-12-30 08:47:05 +00:00
parent 7081eac5bb
commit d032cdfa54
3 changed files with 61 additions and 17 deletions

View file

@ -68,7 +68,7 @@ namespace Ombi.Core
foreach (var u in users)
{
if (username == u.UserName)
if (username.Equals(u.UserName, StringComparison.CurrentCultureIgnoreCase))
{
var passwordMatch = PasswordHasher.VerifyPassword(password, u.Salt, u.Hash);
if (passwordMatch)