From 0779d4d65f5d0ea24a0e01f9fd3b1f7dfa60fee0 Mon Sep 17 00:00:00 2001 From: Andriy Tolstoy Date: Fri, 16 Aug 2024 15:46:22 +0200 Subject: [PATCH] use static equals method to avoid exception --- src/IdentityServer/Test/TestUserStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IdentityServer/Test/TestUserStore.cs b/src/IdentityServer/Test/TestUserStore.cs index fd41cd2ca..825f727b9 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;