Merge pull request #1720 from appleboy/doc

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