1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-26 15:54:34 +02:00

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:
jakubvrana
2010-04-26 16:24:00 +00:00
parent ed1c6c744e
commit 31b7b3a101

View File

@@ -109,7 +109,9 @@ if ($_POST) {
} else {
$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["hashed"] = true;
if ($old_pass != "") {
$row["hashed"] = true;
}
$grants[""] = true;
}