You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-12-09T06:00:46.570928858Z Unable to load plugin file "login-password-less", because it has required parameters: password_hash
2023-12-09T06:00:46.570946114Z Create a file "/var/www/html/plugins-enabled/login-password-less.php" with the following contents to load the plugin:
2023-12-09T06:00:46.570947891Z
2023-12-09T06:00:46.570948996Z <?php
2023-12-09T06:00:46.570950347Z require_once('plugins/login-password-less.php');
2023-12-09T06:00:46.570951422Z
2023-12-09T06:00:46.570952603Z /** Set allowed password
2023-12-09T06:00:46.570953684Z * @param string result of password_hash
2023-12-09T06:00:46.570954791Z */
2023-12-09T06:00:46.570955832Z return new AdminerLoginPasswordLess(
2023-12-09T06:00:46.570956911Z $password_hash = ???
2023-12-09T06:00:46.570957973Z );
then as ablove guide,i mount file login-password-less.php :
<?phprequire_once('plugins/login-password-less.php');
/** Set allowed password * @param string result of password_hash */returnnewAdminerLoginPasswordLess(
$password_hash = password_hash("admin", PASSWORD_BCRYPT)
);
now my docker-compose.yaml like this ( onle add a line - ./login-password-less.php:/var/www/html/plugins-enabled/login-password-less.php ):
after run docker compose down -v; docker compose up -d , i recived the same error:
then i add /var/www/html/plugins-enabled/sqlite.php file #78 :
<?phprequire("plugins/login-password-less.php");
// TODO: inline the result of password_hash() so that the password is not visible in source codesreturnnewAdminerLoginPasswordLess(password_hash("YOUR_PASSWORD_HERE", PASSWORD_DEFAULT));
The text was updated successfully, but these errors were encountered:
geekyouth
changed the title
how to login sqlite file without password, i have tyied every methods and failed
how to login sqlite file without password?
Dec 9, 2023
this is my docker-compose.yaml
after run ,the error log as blow:
then as ablove guide,i mount file login-password-less.php :
now my docker-compose.yaml like this ( onle add a line
- ./login-password-less.php:/var/www/html/plugins-enabled/login-password-less.php
):after run
docker compose down -v; docker compose up -d
, i recived the same error:then i add
/var/www/html/plugins-enabled/sqlite.php
file #78 :and mount with docker-compose.yaml as blow
after run docker compose up -d;
it works:
but it is readonly
The text was updated successfully, but these errors were encountered: