Many of my friends need to install Zhimeng dedecms locally for testing. They need to log on to the background frequently. It is really troublesome to enter the verification code every time.
The new dedecms5.6 is more user-friendly. You can set verification codes in the background.
In dedecms5.6, you can set the verification code in the following path to go to the backend: System> System Settings> verification security settings.
However, this function is not integrated in the background of dedecms5.5 in the old version of Zhimeng. To remove the background login verification code, you need to modify the code,
The following is the modification method:
1. Edit and open the dedelogin. php Tutorial file under the root directory. dede is the background Directory. If you rename the background Directory, go to the renamed directory and edit it to open the login. php file.
2. Search for if ($ validate = ''| $ validate! = $ Svali) with if (false)
3. Edit and open the background login template file dede/templets/login.htm, delete or comment out the specific html code of the following verification code:
<Li> <span> verification code: </span>
<Input name = "validate" type = "text" id = "vdcode" style = 'width: 50px; text-transform: uppercase; '/>
</Li>