##// END OF EJS Templates
feat(hide recaptcha secrets): masked sensitive information related to reCaptcha configuration.
ilin.s -
r5641:ad0048eb default
parent child Browse files
Show More
@@ -32,6 +32,7 b' Fixes'
32 ^^^^^
32 ^^^^^
33
33
34 - Fixed UI visualization issues with long commit messages
34 - Fixed UI visualization issues with long commit messages
35 - Fixed masking for some fields in admin settings
35
36
36
37
37 Upgrade notes
38 Upgrade notes
@@ -143,4 +143,16 b''
143
143
144 });
144 });
145 </script>
145 </script>
146 <script>
147 const consumerKeyInput = document.getElementById("consumer_key");
148 const consumerSecretInput = document.getElementById("consumer_secret");
149
150 if (consumerKeyInput) {
151 consumerKeyInput.setAttribute("type", "password");
152 }
153
154 if (consumerSecretInput) {
155 consumerSecretInput.setAttribute("type", "password");
156 }
157 </script>
146 </%def>
158 </%def>
@@ -68,7 +68,7 b''
68 <label for="rhodecode_captcha_public_key">${_('Google reCaptcha v2 site key.')}</label>
68 <label for="rhodecode_captcha_public_key">${_('Google reCaptcha v2 site key.')}</label>
69 </div>
69 </div>
70 <div class="field input">
70 <div class="field input">
71 ${h.text('rhodecode_captcha_public_key',size=60)}
71 ${h.text('rhodecode_captcha_public_key',size=60, type="password")}
72 </div>
72 </div>
73 <div class="field">
73 <div class="field">
74 <span class="help-block">
74 <span class="help-block">
@@ -80,7 +80,7 b''
80 <label for="rhodecode_captcha_private_key">${_('Google reCaptcha v2 secret key.')}</label>
80 <label for="rhodecode_captcha_private_key">${_('Google reCaptcha v2 secret key.')}</label>
81 </div>
81 </div>
82 <div class="field input">
82 <div class="field input">
83 ${h.text('rhodecode_captcha_private_key',size=60)}
83 ${h.text('rhodecode_captcha_private_key',size=60, type="password")}
84 </div>
84 </div>
85 <div class="field">
85 <div class="field">
86 <span class="help-block">
86 <span class="help-block">
General Comments 0
You need to be logged in to leave comments. Login now