Want to add a verification code to phpMyAdmin?? But can not find the verification of the place, could you tell
Want to add a verification code to phpMyAdmin?? But can not find the verification of the place, could you tell me.
After all, no verification code can easily be social workers. At the same time I also want to JS encryption password, and then use PHP decryption.
Know to inform. Thank you.
------Solution--------------------
This post was last edited by xuzuning on 2012-12-20 16:46:41
The login form is near libraries/auth/cookie.auth.lib.php 240.
The operation for the user name is near the 450 line of the file
if (! empty ($_request[' pma_username ')) {
The user just logged in
$GLOBALS [' php_auth_user '] = $_request[' pma_username ');
$GLOBALS [' php_auth_pw '] = Empty ($_request[' Pma_password ')? ": $_request[' Pma_password ');
if ($GLOBALS [' cfg '] [' allowarbitraryserver '] && isset ($_request[' pma_servername ')) {
$GLOBALS [' pma_auth_server '] = $_request[' pma_servername ');
}
return true;
}
Phpmysqladmin itself does not need to verify the authenticity of the user name and password
Because the user name and password is for MySQL, the wrong connection is not on the database