<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Util; use Module\Vendor\Provider\Captcha\CaptchaProvider; use Module\Vendor\Provider\Captcha\DefaultCaptchaProvider; class SecurityUtil { public static function registerCaptchaProvider() { goto nTw66; nTw66: $MGY9H = modstart_config('Member_RegisterCaptchaProvider', null); goto F2DDd; awLXe: return $O9Vtg; goto vOkbY; C4EfW: $O9Vtg = CaptchaProvider::get($MGY9H); goto jvciO; F2DDd: if (empty($MGY9H)) { return null; } goto C4EfW; jvciO: if ($O9Vtg && $O9Vtg instanceof DefaultCaptchaProvider) { return null; } goto xVFp0; xVFp0: $O9Vtg->setParam('onValidate', 'window.__memberCheckCaptcha'); goto awLXe; vOkbY: } public static function loginCaptchaProvider() { goto iFN2i; iFN2i: $MGY9H = modstart_config('loginCaptchaProvider', null); goto SrVmx; AA6L8: $O9Vtg = CaptchaProvider::get($MGY9H); goto UBEQE; DbewQ: return $O9Vtg; goto wJv7U; UBEQE: if ($O9Vtg && $O9Vtg instanceof DefaultCaptchaProvider) { return null; } goto DbewQ; SrVmx: if (empty($MGY9H)) { return null; } goto AA6L8; wJv7U: } }