Phpcmsv9 how to disable front-end and back-end login verification code

Source: Internet
Author: User
How does phpcmsv9 disable the front-end and back-end login verification codes? Delete the following code? Phpcmsmodulesmemberindex. php ?? Search for the following four lines of code: determining the verification code ??? $ Codeisset ($ _ POST [code]) & amp; trim ($ _ POST [code])? Trim ($ _ phpcms v9 how to disable front-end and back-end login verification codes

Disable verification code at the front end

?

Delete the following code

?

\ Phpcms \ modules \ member \ index. php ?? Search for the following four lines of code:

// Determine the verification code
??? $ Code = isset ($ _ POST ['code']) & trim ($ _ POST ['code'])? Trim ($ _ POST ['code']): showmessage (L ('input _ code'), HTTP_REFERER );
??? If ($ _ SESSION ['code']! = Strtolower ($ code )){
???? Showmessage (L ('code _ error'), HTTP_REFERER );
??? }

?

?

Code of the \ phpcms \ templates \ default \ member \ login.html Template page:

???????


??{L ('checkcode ')}:{Form: checkcode ('code _ img ', '4', '14', 84, 24 )}
?

?

The method for disabling the background verification code is similar. the path and file name are different.

?

\ Phpcms \ modules \ admin \ index. php ??

?

Login template, which is suffixed with php and is actually an html template file

\ Phpcms \ modules \ admin \ templates \ login. tpl. php

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.