Not hashed password by default
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1501 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
ed1c6c744e
commit
31b7b3a101
|
@ -109,7 +109,9 @@ if ($_POST) {
|
||||||
} else {
|
} else {
|
||||||
$row = $_GET + array("host" => $connection->result("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', -1)")); // create user on the same domain by default
|
$row = $_GET + array("host" => $connection->result("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', -1)")); // create user on the same domain by default
|
||||||
$row["pass"] = $old_pass;
|
$row["pass"] = $old_pass;
|
||||||
|
if ($old_pass != "") {
|
||||||
$row["hashed"] = true;
|
$row["hashed"] = true;
|
||||||
|
}
|
||||||
$grants[""] = true;
|
$grants[""] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue