Files
luos/workflow/engine/methods/login/sysLoginVerify.php

17 lines
407 B
PHP
Raw Normal View History

2010-12-02 23:34:41 +00:00
<?php
2016-04-28 12:03:26 -04:00
2022-11-16 16:20:43 +00:00
use Illuminate\Support\Facades\Crypt;
if (array_key_exists("d", $_GET)) {
2022-11-16 16:20:43 +00:00
$str = Crypt::decryptString($_GET["d"]);
2016-04-28 12:03:26 -04:00
if (preg_match('/^a:[0-9]+:{/', $str) && !preg_match('/(^|;|{|})O:\+?[0-9]+:"/', $str)) {
$_POST = unserialize($str);
}
}
2016-04-28 12:03:26 -04:00
if (!isset($_POST)) {
G::header('location: /sys/' . $lang . '/' . SYS_SKIN . '/' . 'login/login');
}
require_once 'authentication.php';