HOR-3373
+ Fix web entry login bloqued when session_block configuration is enabled. + Include behat test.
This commit is contained in:
@@ -27,7 +27,7 @@ SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||
<JS type="javascript"><![CDATA[
|
||||
|
||||
//validate iframe login
|
||||
if(inIframe()) {
|
||||
if(inIframe() && (window.location.search.indexOf("inIFrame=1")===-1)) {
|
||||
if (PM.Sessions.getCookie('PM-TabPrimary') !== '101010010'
|
||||
&& (window.location.pathname.indexOf("login/login") !== -1
|
||||
|| window.location.pathname.indexOf("sysLogin") !== -1)) {
|
||||
|
||||
Reference in New Issue
Block a user