Merge pull request #1250 from julceslauhub/master

BUG 10549 Steps page. Multiple login in Steps page SOLVED
This commit is contained in:
julceslauhub
2013-01-29 11:03:04 -08:00
2 changed files with 6 additions and 0 deletions

View File

@@ -21,6 +21,11 @@
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
if (!isset($_SESSION['USER_LOGGED'])) {
G::SendTemporalMessage('ID_LOGIN_AGAIN', 'warning', 'labels');
die('<script type="text/javascript">parent.location = "../login/login";</script>');
}
try {
global $RBAC;
switch ($RBAC->userCanAccess( 'PM_FACTORY' )) {

View File

@@ -773,6 +773,7 @@ if (! defined( 'EXECUTE_BY_CRON' )) {
$noLoginFiles[] = 'dynaforms_checkDependentFields';
$noLoginFiles[] = 'fields_Ajax';
$noLoginFiles[] = 'appFolderAjax';
$noLoginFiles[] = 'steps_Ajax';
$noLoginFolders[] = 'services';
$noLoginFolders[] = 'tracker';