• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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