update: prevention of blasting

This commit is contained in:
v2board
2023-06-24 23:00:02 +08:00
parent 61f1d8a623
commit 757e605921
4 changed files with 10 additions and 3 deletions

View File

@ -25,7 +25,8 @@ class CacheKey
'REGISTER_IP_RATE_LIMIT' => '注册频率限制',
'LAST_SEND_LOGIN_WITH_MAIL_LINK_TIMESTAMP' => '最后一次发送登入链接时间',
'PASSWORD_ERROR_LIMIT' => '密码错误次数限制',
'USER_SESSIONS' => '用户session'
'USER_SESSIONS' => '用户session',
'FORGET_REQUEST_LIMIT' => '找回密码次数限制'
];
public static function get(string $key, $uniqueValue)