增加管理后台登录频次校验和连续错误登录后限制登录
修改管理后台验证码生成和登录校验
(cherry picked from commit f1bdb285c951f7aef6f1f217773afb7737779435)
(cherry picked from commit da94d7bf741863669efc298a6fdc600e43e10453)
| | |
| | | */ |
| | | private static final String ALLOWED_HEADERS = "X-Requested-With, Content-Type, Authorization, credential, X-XSRF-TOKEN, token, username, client, request-origin, sign, nonce_str, timestamp, X-Login-Session"; |
| | | private static final String ALLOWED_METHODS = "GET,POST,PUT,DELETE,OPTIONS,HEAD"; |
| | | private static final String ALLOWED_ORIGIN = "*"; |
| | | private static final String ALLOWED_EXPOSE = "*"; |
| | | private static final String MAX_AGE = "18000"; |
| | | |