Home >CMS Tutorial >DEDECMS >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)
Replace the above code with the following code
if( false )
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+'?'" /></li>
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!