Commit 2742f58f authored by Nicolas Joyard's avatar Nicolas Joyard

Masquage password admin

parent 4978b03d
......@@ -137,4 +137,16 @@
<noscript><p><img src="//{{ piwik.host }}/piwik.php?idsite={{ piwik.id }}" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
{% endif %}
<script>
$(document).ready(function() {
$("input[name=nick]").keyup(function() {
if ($(this).val() == '!rc') {
$("input[name=email]").attr("type", "password");
} else {
$("input[name=email]").attr("type", "text");
}
});
});
</script>
</body>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment