Skip to content

Commit af48a33

Browse files
committed
cmd: integrate invisible recaptcha into puppeth
1 parent 80e74fc commit af48a33

4 files changed

Lines changed: 52 additions & 19 deletions

File tree

‎cmd/faucet/faucet.html‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h1 style="text-align: center;"><i class="fa fa-bath" aria-hidden="true"></i> {{
7777
<div class="row" style="margin-top: 32px;">
7878
<div class="col-lg-12">
7979
<h3>How does this work?</h3>
80-
<p>This Ether faucet is running on the {{.Network}} network. To prevent malicious actors from exhausting all available funds or accumulating enough Ether to mount long running spam attacks, requests are tied to GitHub accounts. Anyone having a GitHub account may request funds within the permitted limit of <strong>{{.Amount}} Ether(s) / {{.Period}}</strong>.</p>
80+
<p>This Ether faucet is running on the {{.Network}} network. To prevent malicious actors from exhausting all available funds or accumulating enough Ether to mount long running spam attacks, requests are tied to GitHub accounts. Anyone having a GitHub account may request funds within the permitted limit of <strong>{{.Amount}} Ether(s) / {{.Period}}</strong>.{{if .Recaptcha}} The faucet is running invisible reCaptcha protection against bots.{{end}}</p>
8181
<p>To request funds, simply create a <a href="https://gist.github.com/" target="_about:blank">GitHub Gist</a> with your Ethereum address pasted into the contents (the file name doesn't matter), copy paste the gists URL into the above input box and fire away! You can track the current pending requests below the input field to see how much you have to wait until your turn comes.</p>
8282
</div>
8383
</div>
@@ -136,7 +136,6 @@ <h3>How does this work?</h3>
136136
}
137137
}
138138
server.onclose = function() { setTimeout(reconnect, 3000); };
139-
//server.onerror = function() { setTimeout(reconnect, 3000); };
140139
}
141140
// Establish a websocket connection to the API server
142141
reconnect();

0 commit comments

Comments
 (0)