forbide root or mysql as an alternc account

This commit is contained in:
Benjamin Sonntag 2006-04-26 22:07:01 +00:00
parent abc975efd9
commit 911a543728
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class m_admin {
return false;
}
// Il ne peut pas être égal au login ou au nom de base systeme !
if ($login==$L_MYSQL_DATABASE || $login==$L_MYSQL_LOGIN) {
if ($login==$L_MYSQL_DATABASE || $login==$L_MYSQL_LOGIN || $login=="mysql" || $login=="root") {
$err->raise("admin",10);
return false;
}