USER_HISTORY-236 Fix the session block funcionality
This commit is contained in:
@@ -30,7 +30,7 @@ SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||
|
||||
//validate iframe login
|
||||
if(inIframe() && (window.location.search.indexOf("inIFrame=1")===-1)) {
|
||||
if (PM.Sessions.getCookie('PM-TabPrimary') !== '101010010'
|
||||
if (PM.Sessions.getCookie('LURANA-TabPrimary') !== '101010010'
|
||||
&& (window.location.pathname.indexOf("login/login") !== -1
|
||||
|| window.location.pathname.indexOf("sysLogin") !== -1)) {
|
||||
window.top.location.href = window.location.pathname;
|
||||
|
||||
Reference in New Issue
Block a user