We are using Kentico 7.0 version.
We inherit from CMSPage.cs class where there is hard-coded login value in
HandleScreenLock() function:
// ScreenLock - redirect to logon page if screen is locked
if (!isScreenLockCallback && IsScreenLocked)
{
// Sign out current user
FormsAuthentication.SignOut();
IsScreenLocked = false;
// Get the logon page URL
const string logonPage = "~/cmspages/logon.aspx";
if (!Request.AppRelativeCurrentExecutionFilePath.ToLowerCSafe().Contains(logonPage))
{
// Redirect to logon page
URLHelper.Redirect(logonPage + "?ReturnUrl=" + Request.Path);
}
}
Since we are using your compiled version of the file, we would like to have a fix for this bug.
I tried to response redirect from your logon page to ours, but you're using events handling and it's not working either. Please help!
Thank you!