Hide password change for Drizzle
This commit is contained in:

committed by
Michal Čihař

parent
d421c85a5c
commit
e264e9f112
3
main.php
3
main.php
@@ -85,6 +85,7 @@ if ($server > 0
|
|||||||
if ($server > 0) {
|
if ($server > 0) {
|
||||||
require_once './libraries/check_user_privileges.lib.php';
|
require_once './libraries/check_user_privileges.lib.php';
|
||||||
|
|
||||||
|
if (!PMA_DRIZZLE) {
|
||||||
// Logout for advanced authentication
|
// Logout for advanced authentication
|
||||||
if ($cfg['Server']['auth_type'] != 'config') {
|
if ($cfg['Server']['auth_type'] != 'config') {
|
||||||
if ($cfg['ShowChgPassword']) {
|
if ($cfg['ShowChgPassword']) {
|
||||||
@@ -97,7 +98,7 @@ if ($server > 0
|
|||||||
'./user_password.php?' . $common_url_query, null, null, 'change_password_anchor', null, $conditional_class);
|
'./user_password.php?' . $common_url_query, null, null, 'change_password_anchor', null, $conditional_class);
|
||||||
}
|
}
|
||||||
} // end if
|
} // end if
|
||||||
if (PMA_DRIZZLE) {
|
|
||||||
echo ' <li id="li_select_mysql_collation">';
|
echo ' <li id="li_select_mysql_collation">';
|
||||||
echo ' <form method="post" action="index.php" target="_parent">' . "\n"
|
echo ' <form method="post" action="index.php" target="_parent">' . "\n"
|
||||||
. PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection')
|
. PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection')
|
||||||
|
Reference in New Issue
Block a user