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 src="/static/imghwm/default1.png" data-src="../include/vdimgck.php" class="lazy" id="vdimgck" alt="看不清?点击更换" align="absmiddle" style="max-width:90%" 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="/static/imghwm/default1.png" data-src="../include/vdimgck.php" class="lazy" alt="看不清?点击更换" name="vdimgck" align="absmiddle" id="vdimgck" style="max-width:90%"/> 看不清?<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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version
Useful JavaScript development tools
