mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
Fixed #862
This commit is contained in:
parent
7081eac5bb
commit
d032cdfa54
3 changed files with 61 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue