From: Jakub Vrana Date: Mon, 7 May 2018 10:23:13 +0000 (+0200) Subject: Recommend inlining the hash X-Git-Tag: v4.6.3~10 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=a9a748845489369eae51ca0bd4fe820fddd3b9cb;p=adminer.git Recommend inlining the hash --- diff --git a/adminer/sqlite.php b/adminer/sqlite.php index 41ff2e20..07f0fa4a 100644 --- a/adminer/sqlite.php +++ b/adminer/sqlite.php @@ -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)), )); }