<?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 mdiCn; ag2SK: if (empty($aVT3z)) { return null; } goto xMhYM; HZ9GN: return $kHDkQ; goto jKEzH; jrWYM: if ($kHDkQ && $kHDkQ instanceof DefaultCaptchaProvider) { return null; } goto lX_0B; mdiCn: $aVT3z = modstart_config('Member_RegisterCaptchaProvider', null); goto ag2SK; xMhYM: $kHDkQ = CaptchaProvider::get($aVT3z); goto jrWYM; lX_0B: $kHDkQ->setParam('onValidate', 'window.__memberCheckCaptcha'); goto HZ9GN; jKEzH: } public static function loginCaptchaProvider() { goto ZFYG2; Lu3Sp: return $kHDkQ; goto BIrLY; cBt_T: $kHDkQ = CaptchaProvider::get($aVT3z); goto mwwWs; ZFYG2: $aVT3z = modstart_config('loginCaptchaProvider', null); goto nBF2X; nBF2X: if (empty($aVT3z)) { return null; } goto cBt_T; mwwWs: if ($kHDkQ && $kHDkQ instanceof DefaultCaptchaProvider) { return null; } goto Lu3Sp; BIrLY: } }