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