Fix #1660 #1826 limit SMS auth attempts from same IP

This commit is contained in:
Kijin Sung 2021-12-31 14:56:30 +09:00
parent ff2e04fb8f
commit 8d1dd026ef
6 changed files with 46 additions and 1 deletions

View file

@ -63,6 +63,7 @@ $lang->limit_day = 'Temporary Limit Date';
$lang->limit_day_description = 'Description for Temporary Limit Date';
$lang->limit_date = 'Limit Date';
$lang->cmd_special_phone_number = 'Verification code exception';
$lang->cmd_max_auth_sms_count = 'Verification rate limit';
$lang->after_login_url = 'URL to redirect after Sign in';
$lang->after_logout_url = 'URL to redirect after Sign out';
$lang->redirect_url = 'URL to redirect after Sign up';
@ -146,6 +147,7 @@ $lang->cmd_send_email = 'Send Mail';
$lang->cmd_allow_duplicate_nickname = 'Allow Duplicate Nicknames';
$lang->about_allow_duplicate_nickname = 'Allow more than one member to use the same nickname.';
$lang->msg_special_code_incorrect_format = 'The verification code must be a 6-digit number.';
$lang->msg_auth_sms_rate_limited = 'Too many verification attempts. Please try again later.';
$lang->msg_email_not_exists = 'You have entered an invalid email address.';
$lang->msg_alreay_scrapped = 'This article is already scrapped.';
$lang->msg_folder_alreay_exists = 'A folder with the same name already exists.';
@ -241,6 +243,7 @@ $lang->about_enable_ssl = 'Personal information from Sign up/Modify Member Info/
$lang->about_limit_day = 'You can limit activation date after sign up';
$lang->about_limit_date = 'Users cannot sign in until the specified date';
$lang->about_special_phone_number = 'You can set up a special phone number that can be verified with a preconfigured code instead of sending an actual SMS.<br>The special phone number will also be allowed to sign up more than once even if this is normally disallowed.<br>This can be useful for development, testing, and app store review process.';
$lang->about_max_auth_sms_count = 'You can limit the number of time someone can try to verify the same phone number from the same IP address.';
$lang->about_after_login_url = 'You can set a URL after login. Blank means the current page.';
$lang->about_after_logout_url = 'You can set a URL after logout. Blank means the current page.';
$lang->about_redirect_url = 'Please select a page where users will go after sign up. When this is empty, it will be set as the previous page of the sign up page.';