Home > CMS Tutorial > DEDECMS > body text

How to remove DEDECMS verification code

藏色散人
Release: 2019-11-16 10:13:34
Original
2832 people have browsed it

How to remove DEDECMS verification code

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();  
        }
Copy after login

Open membertempletslogin.htm and membertempletsindex-notlogin. htm

Delete lines 34-36, that is:

<li><span>验证码:</span> 
          <input name="vdcode" type="text" id="vdcode" style=&#39;width:50px;text-transform:uppercase;&#39; class="text" /> 
          <img id="vdimgck" src="../include/vdimgck.php" alt="看不清?点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+&#39;?&#39;" /> 看不清?<a onclick="changeAuthCode();" href="#">点击更换</a></li>
Copy after login

2. Register

Open member/reg_new.php

Delete 20-25 lines, that is:

toxue.com  
   
    if(strtolower($vdcode)!=$svali || $svali==&#39;&#39;)  
    {  
        ResetVdValue();  
        ShowMsg(&#39;验证码错误!&#39;, &#39;-1&#39;);  
        exit();  
    }
Copy after login

Open membertempletsreg-new.htm

Delete lines 71-73, that is:

toxue.com  
 
<li><span>验证码:</span> 
          <input name="vdcode" type="text" id="vdcode" style=&#39;width:50px;text-transform:uppercase;&#39; class="text" /> 
          <img src="../include/vdimgck.php" alt="看不清?点击更换" name="vdimgck" align="absmiddle" id="vdimgck" style="cursor:pointer"/> 看不清?<a href="#vdcode">点击更换</a></li>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!