]> git.joonet.de Git - adminer.git/commitdiff
Recommend inlining the hash
authorJakub Vrana <jakub@vrana.cz>
Mon, 7 May 2018 10:23:13 +0000 (12:23 +0200)
committerJakub Vrana <jakub@vrana.cz>
Mon, 7 May 2018 10:23:13 +0000 (12:23 +0200)
adminer/sqlite.php

index 41ff2e20946fdb1696d829559c5cffa7a7e846b2..07f0fa4af87927a22098807346efd00d688de40c 100644 (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)),
        ));
 }