|
@@ -46,10 +46,10 @@ public class CaptchaController
|
|
|
public AjaxResult getCode(HttpServletResponse response) throws IOException
|
|
|
{
|
|
|
AjaxResult ajax = AjaxResult.success();
|
|
|
- boolean captchaEnabled = configService.selectCaptchaEnabled();
|
|
|
+ //boolean captchaEnabled = configService.selectCaptchaEnabled();
|
|
|
+ boolean captchaEnabled = true;
|
|
|
ajax.put("captchaEnabled", captchaEnabled);
|
|
|
- if (!captchaEnabled)
|
|
|
- {
|
|
|
+ if (!captchaEnabled) {
|
|
|
return ajax;
|
|
|
}
|
|
|
|