Files
luos/workflow/engine/methods/login/sysLoginVerify.php
Julio Cesar Laura Avendaño e4a13aac7f PMCORE-4049
2022-11-16 16:20:43 +00:00

17 lines
407 B
PHP

<?php
use Illuminate\Support\Facades\Crypt;
if (array_key_exists("d", $_GET)) {
$str = Crypt::decryptString($_GET["d"]);
if (preg_match('/^a:[0-9]+:{/', $str) && !preg_match('/(^|;|{|})O:\+?[0-9]+:"/', $str)) {
$_POST = unserialize($str);
}
}
if (!isset($_POST)) {
G::header('location: /sys/' . $lang . '/' . SYS_SKIN . '/' . 'login/login');
}
require_once 'authentication.php';