<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Traits; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\View; use ModStart\Core\Input\Request; trait SecurityTrait { private function checkSecuritySecondVerify() { goto Dqri2; vj6b3: $z02UP = intval(Session::get('Vendor_SecuritySecondVerifyTime')); goto GbK14; GbK14: if ($z02UP < time()) { header('Location: ' . modstart_admin_url('security/second_verify', array('redirect' => Request::currentPageUrl(), '_is_tab' => View::shared('_isTabQuery')))); die; } goto PFgn_; PFgn_: Session::set('Vendor_SecuritySecondVerifyTime', time() + 3600); goto DYoV8; wqW8P: if (!$F9uDU) { return; } goto vj6b3; Dqri2: $F9uDU = modstart_config('Vendor_SecuritySecondVerifyPassword'); goto wqW8P; DYoV8: } }