From a9a748845489369eae51ca0bd4fe820fddd3b9cb Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 7 May 2018 12:23:13 +0200 Subject: [PATCH] Recommend inlining the hash --- adminer/sqlite.php | 1 + 1 file changed, 1 insertion(+) 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)), )); }