mirror of
https://github.com/vrana/adminer.git
synced 2025-08-27 00:05:18 +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:
@@ -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;
|
||||
if ($old_pass != "") {
|
||||
$row["hashed"] = true;
|
||||
}
|
||||
$grants[""] = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user