summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_data.xml
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-07-26 17:37:36 +0200
committerAlexandre Kühn <aku@odoo.com>2018-07-27 15:02:49 +0200
commit4b3588feb2b7e260bf237b0f3944c90cdc47c3b5 (patch)
treefa3a399983c0c8d8269a0cb217d45584c998fad4 /addons/mail/data/mail_data.xml
parent2b3017974bc7cd4b3a74f83c956224cfe4e5a918 (diff)
[FIX] web: edited password fields should not contain '*'
Before this commit, when someone was editing a password, the stored password may not be the expected one by the user. Steps to reproduce: 1. Open "Outgoing Mail Servers" form. 2. Set a password (e.g. "yop"). 3. Save, then edit. 4. Add "y" at the end of the password field. > Expected value: "yopy" > Actual value: "***y" This is due to the use of the char field formatter, which displays passwords by replacing the characters with '*'. It is not necessary to do this in edit mode, because it uses an input field of type 'password'. The browser automatically hides the value of such inputs. Any changes on a input field in edit mode uses the value of the input, so the value of an password input should contain the password, without '*'. This commit fixes the issue by using the formatter in edit mode for the input of type 'password'. Task-ID 1869565
Diffstat (limited to 'addons/mail/data/mail_data.xml')
0 files changed, 0 insertions, 0 deletions