-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load the login-password-less plugin #50
Comments
Yes. The |
For the sake of completion, here's the <?php
require_once('plugins/login-password-less.php');
/** Set allowed password
* @param string result of password_hash
*/
return new AdminerLoginPasswordLess(
$password_hash = password_hash("admin", PASSWORD_DEFAULT)
); |
is it USER adminer in your dockerfile necessary?
I just didn't add USER in my dockerfile as you |
The |
PASSWORD_DEFAULT is global php variable, or docker environment variable, or placeholder for us to change? |
That is a PHP constant to indicate the password hashing algorithm to use. Adminer expects a hashed password and that call will create a valid hash ad-hoc. As of right now
You must not replace that constant. |
Hello !
We are trying to extend your image because we need to use the login-password-less plugin and it needs a custom file for the mandatory parameter.
Here is my Dockerfile :
And the content of login-password-less.php file :
I set the env var ADMINER_PLUGINS to "login-password-less" but I still have this error on startup :
Am I missing something ?
The text was updated successfully, but these errors were encountered: