Skip to content

Commit dd537f8

Browse files
authoredMay 22, 2024··
Update path (#16346)
1 parent beba9d9 commit dd537f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Umbraco.Web.Website/Middleware/BasicAuthenticationMiddleware.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private void HandleUnauthorized(HttpContext context)
103103
{
104104
if (_basicAuthService.IsRedirectToLoginPageEnabled())
105105
{
106-
context.Response.Redirect($"{_backOfficePath}/login/?status=false&returnPath={WebUtility.UrlEncode(context.Request.GetEncodedPathAndQuery())}", false);
106+
context.Response.Redirect($"{_backOfficePath}/?status=false&returnPath={WebUtility.UrlEncode(context.Request.GetEncodedPathAndQuery())}", false);
107107
}
108108
else
109109
{

0 commit comments

Comments
 (0)
Please sign in to comment.