Merged in luisfernandosl/processmaker/BUG-15836 (pull request #818)
BUG 15836 "Error al validar las politicas de..." SOLVED
This commit is contained in:
@@ -43,7 +43,7 @@ try {
|
|||||||
require_once PATH_CORE . 'methods' . PATH_SEP . 'enterprise' . PATH_SEP . 'enterprise.php';
|
require_once PATH_CORE . 'methods' . PATH_SEP . 'enterprise' . PATH_SEP . 'enterprise.php';
|
||||||
|
|
||||||
$enterprise = new enterprisePlugin('enterprise');
|
$enterprise = new enterprisePlugin('enterprise');
|
||||||
|
|
||||||
if (!file_exists(PATH_DATA_SITE . "plugin.singleton")) {
|
if (!file_exists(PATH_DATA_SITE . "plugin.singleton")) {
|
||||||
$enterprise->enable();
|
$enterprise->enable();
|
||||||
}
|
}
|
||||||
@@ -100,7 +100,7 @@ try {
|
|||||||
$errLabel = 'WRONG_LOGIN_CREDENTIALS';
|
$errLabel = 'WRONG_LOGIN_CREDENTIALS';
|
||||||
}
|
}
|
||||||
|
|
||||||
$_SESSION["USERNAME_PREVIOUS1"] = $_SESSION["USERNAME_PREVIOUS2"];
|
$_SESSION["USERNAME_PREVIOUS1"] = (isset($_SESSION["USERNAME_PREVIOUS2"]))? $_SESSION["USERNAME_PREVIOUS2"] : "";
|
||||||
$_SESSION["USERNAME_PREVIOUS2"] = $usr;
|
$_SESSION["USERNAME_PREVIOUS2"] = $usr;
|
||||||
|
|
||||||
if (!isset($uid) || $uid < 0) {
|
if (!isset($uid) || $uid < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user