]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7360 Encryption form should hide data and prevent caching
authorStas Vilchik <vilchiks@gmail.com>
Fri, 25 Mar 2016 15:33:15 +0000 (16:33 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 25 Mar 2016 15:33:21 +0000 (16:33 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb

index a2126b5bfcbf1e392e4a58fff6ef6dd086028e47..112eb854801b9011004067d14a607144a461befb 100644 (file)
                    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>