Update path (#16346)

This commit is contained in:
Bjarke Berg
2024-05-22 14:24:19 +02:00
committed by GitHub
parent beba9d92e8
commit dd537f8ae8

View File

@@ -103,7 +103,7 @@ public class BasicAuthenticationMiddleware : IMiddleware
{
if (_basicAuthService.IsRedirectToLoginPageEnabled())
{
context.Response.Redirect($"{_backOfficePath}/login/?status=false&returnPath={WebUtility.UrlEncode(context.Request.GetEncodedPathAndQuery())}", false);
context.Response.Redirect($"{_backOfficePath}/?status=false&returnPath={WebUtility.UrlEncode(context.Request.GetEncodedPathAndQuery())}", false);
}
else
{