diff --git a/VirtoCommerce.Storefront/Domain/Security/CustomCookieAuthenticationHandler.cs b/VirtoCommerce.Storefront/Domain/Security/CustomCookieAuthenticationHandler.cs index 4046b297f..7b35747a7 100644 --- a/VirtoCommerce.Storefront/Domain/Security/CustomCookieAuthenticationHandler.cs +++ b/VirtoCommerce.Storefront/Domain/Security/CustomCookieAuthenticationHandler.cs @@ -65,7 +65,7 @@ private string GetTlsTokenBinding() private async Task RedirectToLoginAsync(AuthenticationProperties properties) { var redirectUri = properties.RedirectUri; - if (redirectUri.IsNullOrEmpty()) + if (string.IsNullOrEmpty(redirectUri)) { redirectUri = OriginalPathBase + Request.Path + Request.QueryString; }