Improved page reload efficiency, refactored NavigateUrl and EditUrl helpers, added antiforgery token and returnurl to Logout scenario, fixed PageModule service call api url, modified rendering engine to allow for component differentiation
This commit is contained in:
@ -46,7 +46,12 @@ namespace Oqtane.Pages
|
||||
await HttpContext.SignInAsync(IdentityConstants.ApplicationScheme, new ClaimsPrincipal(claimsIdentity), authProperties);
|
||||
}
|
||||
|
||||
return LocalRedirect(Url.Content("~/" + returnurl));
|
||||
string url = "~/";
|
||||
if (returnurl != "/")
|
||||
{
|
||||
url = Url.Content("~/" + returnurl);
|
||||
}
|
||||
return LocalRedirect(url);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user