Phpcms V9 Close foreground and background login verification code method
Front Desk Close Verification code
?
Remove the following code
?
\phpcms\modules\member\index.php?? Find the following 4 lines of code in the "//Judging Code":
Judging 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);
??? }
?
?
\phpcms\templates\default\member\login.html Template page Code:
???????
?? {L (' Checkcode ')}:{form::checkcode (' code_img ', ' 4 ', ' 14 ', 84, 24)}
?
?
Background verification code Close method similar to the path and file name is not the same
?
\phpcms\modules\admin\index.php??
?
Login template, this suffix is PHP, is actually HTML template file
\phpcms\modules\admin\templates\login.tpl.php