set the path of the login page to /<backofficeurl>/login
This commit is contained in:
@@ -104,6 +104,7 @@ public class ConfigureBackOfficeCookieOptions : IConfigureNamedOptions<CookieAut
|
||||
|
||||
// For any redirections that may occur for the back office, they all go to the same path
|
||||
var backOfficePath = _globalSettings.GetBackOfficePath(_hostingEnvironment);
|
||||
backOfficePath += "/login";
|
||||
options.AccessDeniedPath = backOfficePath;
|
||||
options.LoginPath = backOfficePath;
|
||||
options.LogoutPath = backOfficePath;
|
||||
|
||||
Reference in New Issue
Block a user