You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
issue #11708 Remove no password warning
The empty password has to be enabled by AllowNoPassword, so user should know what he is doing. Showing this warning every time doesn't bring any additional security. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
@@ -20,6 +20,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #11702 Extraneous message after edit + grid-edit
|
||||
- issue #11668 Table header is empty with browsing an empty table
|
||||
+ issue #11701 Allow changing parameter order of routines
|
||||
- issue #11708 Remove no password warning
|
||||
|
||||
4.5.3.0 (not yet released)
|
||||
- issue #11664 Online syntax verifier bug - "IF" on SELECT statement
|
||||
|
||||
19
index.php
19
index.php
@@ -448,25 +448,6 @@ echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
/**
|
||||
* Warning if using the default MySQL privileged account
|
||||
*/
|
||||
if ($server != 0
|
||||
&& $cfg['Server']['user'] == 'root'
|
||||
&& $cfg['Server']['password'] == ''
|
||||
) {
|
||||
trigger_error(
|
||||
__(
|
||||
'You are connected as \'root\' with no password, which'
|
||||
. ' corresponds to the default MySQL privileged account.'
|
||||
. ' Your MySQL server is running with this default, is open to'
|
||||
. ' intrusion, and you really should fix this security hole by'
|
||||
. ' setting a password for user \'root\'.'
|
||||
),
|
||||
E_USER_WARNING
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* As we try to handle charsets by ourself, mbstring overloads just
|
||||
* break it, see bug 1063821.
|
||||
|
||||
Reference in New Issue
Block a user