Recommend inlining the hash
This commit is contained in:
parent
36f13031f7
commit
a9a7488454
|
@ -3,6 +3,7 @@ function adminer_object() {
|
||||||
include_once "../plugins/plugin.php";
|
include_once "../plugins/plugin.php";
|
||||||
include_once "../plugins/login-password-less.php";
|
include_once "../plugins/login-password-less.php";
|
||||||
return new AdminerPlugin(array(
|
return new AdminerPlugin(array(
|
||||||
|
// inline the result of password_hash() so that the password is not visible in source codes
|
||||||
new AdminerLoginPasswordLess(password_hash("YOUR_PASSWORD_HERE", PASSWORD_DEFAULT)),
|
new AdminerLoginPasswordLess(password_hash("YOUR_PASSWORD_HERE", PASSWORD_DEFAULT)),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue