Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Password in macro #3797

Closed
s-duret opened this issue Sep 28, 2015 · 1 comment
Closed

Password in macro #3797

s-duret opened this issue Sep 28, 2015 · 1 comment

Comments

@s-duret
Copy link
Contributor

s-duret commented Sep 28, 2015

Hello,

Passwords are displayed in macros.
The bug comes from Centreon 2.6.2, passwords were not displayed in 2.6.1.

Regards,

@bsauveton
Copy link
Contributor

To fix this issue, change the following line in this file www/include/common/javascript/centreon/macroPasswordField.js

delete line 15 : - "input[0].removeAttr("type");"

replace line 17 : - "input.prop('type', 'password');" with
- "input[0].type = 'password'; "

replace line 20 : - "input.prop('type', 'text');" with
- "input[0].type = 'text';"

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

No branches or pull requests

6 participants