From 3ecc538e151e5466169f5203f1b36c7e455c143c Mon Sep 17 00:00:00 2001 From: Olmo del Corral Cano Date: Tue, 9 Jul 2019 09:49:10 +0200 Subject: [PATCH] remove domainName validation because its very dependent on the format used: Domain\username or username@domain.com --- .../Authorization/WindowsAuthenticationServer.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Signum.React.Extensions/Authorization/WindowsAuthenticationServer.cs b/Signum.React.Extensions/Authorization/WindowsAuthenticationServer.cs index 4625373024..83aae378dd 100644 --- a/Signum.React.Extensions/Authorization/WindowsAuthenticationServer.cs +++ b/Signum.React.Extensions/Authorization/WindowsAuthenticationServer.cs @@ -25,7 +25,6 @@ public class WindowsAuthenticationServer var domainName = userName.TryAfterLast('@') ?? userName.TryBefore('\\') ?? config.DomainName; var localName = userName.TryBeforeLast('@') ?? userName.TryAfter('\\') ?? userName; - if (domainName != null && domainName == config.DomainName) { UserEntity? user = AuthLogic.RetrieveUser(localName); if (user != null)