By default, AdminNeo does not allow connecting to databases without a password. The reason is that if an attacker would be able to access the AdminNeo interface, the database will also be compromised.
If possible, set up the database server to require a password. If not (SQLite or SimpleDB):
Default password can be defined by the defaultPasswordHash configuration parameter.
Add the parameter to the configuration in adminneo-config.php file:
<?php
return [
// Inline the result of password_hash() so that the password is not visible in the source code.
// password_hash("YOUR_PASSWORD_HERE", PASSWORD_DEFAULT)
"defaultPasswordHash" => "$2y$12$iPiS7CrfImmfjfQU9YU4ZeGNXRu9NiszTPyMik/ZsrRAadlgs8r3G",
];
More information about the configuration.
Set defaultPasswordHash configuration parameter to an empty string in adminneo-config.php file:
<?php
return [
"defaultPasswordHash" => "",
];
⚠️ Warning: Allow an empty password on your own risk and put other sufficient safety measures in place. You can use: