PMCORE-3928 Hide Active Session Warning disabled is not saved in the processmaker log
This commit is contained in:
@@ -988,8 +988,13 @@ class WebEntryEvent
|
|||||||
$cnn->commit();
|
$cnn->commit();
|
||||||
|
|
||||||
//log register
|
//log register
|
||||||
if ($arrayData['WE_HIDE_ACTIVE_SESSION_WARNING'] === '1') {
|
$onlyGenerateLink = isset($arrayData['EXTRA']) && isset($arrayData['EXTRA']['generateLink']);
|
||||||
Log::channel(':webEntry')->info('Enable hide active session warning', Bootstrap::context());
|
if ($arrayData['WE_HIDE_ACTIVE_SESSION_WARNING'] === '1' &&
|
||||||
|
$arrayData['WE_AUTHENTICATION'] === 'LOGIN_REQUIRED' &&
|
||||||
|
!$onlyGenerateLink
|
||||||
|
) {
|
||||||
|
$context = Bootstrap::context(['usrUid' => $userUidUpdater]);
|
||||||
|
Log::channel(':webEntry')->info('Hide Active Session Warning', $context);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set WEE_TITLE
|
//Set WEE_TITLE
|
||||||
|
|||||||
Reference in New Issue
Block a user