Recommend inlining the hash

This commit is contained in:
Jakub Vrana 2018-05-07 12:23:13 +02:00
parent 36f13031f7
commit a9a7488454

View file

@ -3,6 +3,7 @@ function adminer_object() {
include_once "../plugins/plugin.php";
include_once "../plugins/login-password-less.php";
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)),
));
}