Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix captcha rendering

  • Loading branch information
ilanolkies committed Jul 4, 2019
1 parent 5838178 commit aae1b41521438c98219ac24db3256cfff4b93d33
Showing with 2 additions and 5 deletions.
  1. +1 −1 public/index.html
  2. +1 −4 rsk-faucet.js
@@ -34,7 +34,7 @@
</div>
<div class="captcha-container">
<div id="captchaImgDiv" style="height: 105px;display: none;">
<img id="captchaImg" class="captcha" src="#" />
<img id="captchaImg" class="captcha" src="#" style="height: 100px;" />
</div>
<div class="captcha-input-container">
<input id="captchaInputText" class="captcha-input" />
@@ -47,10 +47,7 @@ const captchaId = 'captcha'
const captchaFieldName = 'captcha'

app.use(cookieParser())
const captcha = require('captcha').create({ cookie: captchaId, codeLength: 6,
color: 'rgb(0,100,100)', background: 'rgb(255,200,150)',
lineWidth: 2, fontSize: 55,
canvasWidth: 170, canvasHeight: 100 })
const captcha = require('captcha').create({ cookie: captchaId })
var port;
var rskNode;
var faucetAddress;

0 comments on commit aae1b41

Please sign in to comment.
You can’t perform that action at this time.