Skip to content
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

The master password can not be copied from the form nor fully visible #32

Open
ratnavis opened this issue Feb 13, 2022 · 1 comment
Open

Comments

@ratnavis
Copy link

ratnavis commented Feb 13, 2022

Just now installed the plug-in to try the master password feature. But I can not copy the master password from the form - mouse-over brings the "one-way" sign - nor the password is fully visible.

image

The error messages (at DEVELOPER debug level) are:
Did you remember to call setType() for 'password'? Defaulting to PARAM_RAW cleaning.
line 1395 of /lib/formslib.php: call to debugging()
line 322 of /lib/formslib.php: call to moodleform->detectMissingSetType()
line 228 of /lib/formslib.php: call to moodleform->_process_submission()
line 58 of /auth/basic/masterpassword.php: call to moodleform->__construct()

Notice: Undefined variable: toform in [WEBROOT]/auth/basic/masterpassword.php on line 70

Notice: Undefined property: stdClass::$count in [WEBROOT]/auth/basic/masterpassword.php on line 79

Server: Ubuntu 20.04.2 LTS
PHP 7.4.3
Plugin release: 2021073000

@ratnavis
Copy link
Author

Missed earlier. I have these lines in my config.php:
$CFG->auth_basic_enabled_master_password = true;
$CFG->auth_basic_whitelist_ips = '0.0.0.0';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant