Roundcube login form autocomplete overrided to "off" by Plesk?

Stef_Andries

New Pleskian
Hi,

I'm running Plesk for Linux 11.5 and I'd like to allow autocomplete of the userid field from the Roundcube login screen, but when i make the changes to the config file, they are not applied. It looks like Plesk is overriding them.

I edited the /usr/share/psa-roundcube/config/main.inc.php file and set "$rcmail_config['login_autocomplete'] = 1;"

When I check (using Firebug) the source code of the login page, I notice that autocomplete is indeed first set to "on", but it changes to "off" nearly instantly. I suspect that some .js script (inserted by Plesk?) overrides this setting.

This behavior seems to be backed by a statement in Plesk 11.5's release notes:
"Autocompletion is turned off on the login dialog for security reasons"

Is there any way I can undo the override and still keep autocomplete="on" ?
 
# cat /usr/local/psa/admin/htdocs/javascript/common.js | grep autocomplete
inputs.setAttribute('autocomplete', 'off');
// disable autofill for forms with disabled autocomplete fields (Chrome issue)
$$('form input[autocomplete="off"]').each(function(element) {
$(element).up('form').writeAttribute('autocomplete', 'off');
 
Back
Top