diff --git a/src/IdentityServer/Test/TestUserStore.cs b/src/IdentityServer/Test/TestUserStore.cs index d77394e74..5ce8d7e1b 100644 --- a/src/IdentityServer/Test/TestUserStore.cs +++ b/src/IdentityServer/Test/TestUserStore.cs @@ -44,7 +44,7 @@ public bool ValidateCredentials(string username, string password) return true; } - return user.Password.Equals(password); + return Equals(user.Password, password); } return false;