How to remove the DEDECMS verification code?
How to remove DEDECMS verification code
In [Verification Code Security Settings], it is said that the modified save actually modifies data/safe/ The inc_safe_config.php file is a configuration file.
For example:
$safe_gdopen = '1,2,3,5,6'; This is where the verification code is enabled in the system. There is a one-to-one relationship with the [Verification Code Security Settings] interface.
So, if the verification code cannot be entered correctly and the GB library is not supported, you only need to open data/safe/inc_safe_config.php and set $safe_gdopen = '1,2,3,5,6'; 6 Just delete it. No need to go through tedious settings.
Recommended learning: dedecms tutorial
How to directly remove the front desk login verification code
1. Login
Open member/index_do.php
Delete lines 245-250, that is:
if(strtolower($vdcode)!=$svali || $svali=='') { ResetVdValue(); ShowMsg("验证码错误!","-1"); exit(); }
Open membertempletslogin.htm and membertempletsindex-notlogin. htm
Delete lines 34-36, that is:
<li><span>验证码:</span> <input name="vdcode" type="text" id="vdcode" style='width:50px;text-transform:uppercase;' class="text" /> <img id="vdimgck" src="../include/vdimgck.php" alt="看不清?点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /> 看不清?<a onclick="changeAuthCode();" href="#">点击更换</a></li>
2. Register
Open member/reg_new.php
Delete 20-25 lines, that is:
toxue.com if(strtolower($vdcode)!=$svali || $svali=='') { ResetVdValue(); ShowMsg('验证码错误!', '-1'); exit(); }
Open membertempletsreg-new.htm
Delete lines 71-73, that is:
toxue.com <li><span>验证码:</span> <input name="vdcode" type="text" id="vdcode" style='width:50px;text-transform:uppercase;' class="text" /> <img src="../include/vdimgck.php" alt="看不清?点击更换" name="vdimgck" align="absmiddle" id="vdimgck" style="cursor:pointer"/> 看不清?<a href="#vdcode">点击更换</a></li>
The above is the detailed content of How to remove DEDECMS verification code. For more information, please follow other related articles on the PHP Chinese website!