| 191 | } |
| 192 | |
| 193 | func (this *CaptchaValidator) showImage(actionConfig *CaptchaAction, req requests.Request, writer http.ResponseWriter, captchaType firewallconfigs.ServerCaptchaType) { |
| 194 | switch captchaType { |
| 195 | case firewallconfigs.CaptchaTypeOneClick: |
| 196 | // stub |
| 197 | case firewallconfigs.CaptchaTypeSlide: |
| 198 | // stub |
| 199 | case firewallconfigs.CaptchaTypeGeeTest: |
| 200 | // stub |
| 201 | default: |
| 202 | this.showVerifyImage(actionConfig, req, writer) |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | func (this *CaptchaValidator) showVerifyCodesForm(actionConfig *CaptchaAction, req requests.Request, writer http.ResponseWriter) { |
| 207 | // show captcha |