Home > CMS Tutorial > DEDECMS > body text

How to cancel the background verification code in DEDECMS

藏色散人
Release: 2019-11-19 10:13:12
Original
2895 people have browsed it

How to cancel the background verification code in DEDECMS

How to cancel the background verification code in DEDECMS?

Dreamweaver DEDECMS cancels the background verification code

Sometimes, when using DEDECMS, you encounter a background verification code error at the background login, or you dislike the background. If the verification code is troublesome, we can cancel the verification code in the background. This article will teach you how to cancel it

Find the DEDE background directory, which is the default /dede/login.php and find the following code

if($validate=='' || $validate != $svali)
Copy after login

Replace the above code with the following code

if( false )
Copy after login

and then save it directly. In this way, you can log in without entering the verification code when logging in in the background. Next, we will remove the background verification code. Pictures and tips

Find the DEDE backend directory, which is the default /dede/templets/login.htm. Find the following code at about lines 53-55

<li><span>验证码:</span> 
<input name="validate" type="text" id="vdcode" class="text" /> 
<img id="vdimgck" src="../include/vdimgck.php" alt="看不清?点击更换" align="absmiddle" 
style="cursor:pointer" onClick="this.src=this.src+&#39;?&#39;" /></li>
Copy after login

Comment or delete it.

DEDECMSv5.6 background verification code steps:

DEDECMSv5.6 version does not need to manually remove the verification code. The official version has updated the function, which can be found in DEDE The backend directly cancels the backend verification code,

The operation method is as follows:

1. Log in to the DEDE backend

2. System - System Settings - Verification Security Settings - Verification Security Settings - (Uncheck - Background login) - Then click OK.

In this way, the background verification code of DEDECMSv5.6 will be removed.

The above is the detailed content of How to cancel the background verification code in DEDECMS. 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