diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-03-25 16:33:15 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-03-25 16:33:21 +0100 |
commit | 076fbf923516eba1dca7fd74cff006e735739ef5 (patch) | |
tree | ffcaa31e7f08dae1707fcdd7c9054a608af119fd /server/sonar-web | |
parent | 323d8b6d5aa4b77ed4bc9fbd8e72e05584c546d1 (diff) | |
download | sonarqube-076fbf923516eba1dca7fd74cff006e735739ef5.tar.gz sonarqube-076fbf923516eba1dca7fd74cff006e735739ef5.zip |
SONAR-7360 Encryption form should hide data and prevent caching
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb index a2126b5bfcb..112eb854801 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb @@ -32,7 +32,11 @@ return false;" method="post" action="/encryption_configuration/encrypt" > - <input type="text" name="text" id="clear_text"/> + <!-- for our lovely Chrome --> + <input style="display:none"> + <input type="password" name="fake" style="display:none"> + + <input type="password" name="text" id="clear_text" autocomplete="off"/> <input type="submit" value="Encrypt" id="submit_encrypt"/> </form> |