• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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