chore: change ratelimit key for POST email param (#29638)
This commit is contained in:
@@ -23,7 +23,7 @@ from lms.djangoapps.save_for_later.models import SavedCourse
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
POST_EMAIL_KEY = 'post:email'
|
||||
POST_EMAIL_KEY = 'openedx.core.djangoapps.util.ratelimit.request_post_email'
|
||||
REAL_IP_KEY = 'openedx.core.djangoapps.util.ratelimit.real_ip'
|
||||
USER_SENT_EMAIL_SAVE_FOR_LATER = 'edx.bi.user.save.for.later.email.sent'
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ from common.djangoapps.student.models import AccountRecovery, LoginFailures
|
||||
from common.djangoapps.util.json_request import JsonResponse
|
||||
from common.djangoapps.util.password_policy_validators import normalize_password, validate_password
|
||||
|
||||
POST_EMAIL_KEY = 'post:email'
|
||||
POST_EMAIL_KEY = 'openedx.core.djangoapps.util.ratelimit.request_post_email'
|
||||
REAL_IP_KEY = 'openedx.core.djangoapps.util.ratelimit.real_ip'
|
||||
SETTING_CHANGE_INITIATED = 'edx.user.settings.change_initiated'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user