fix issue #1719 and update ip address length on captcha helper

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
3 files changed