|
@@ -3464,6 +3464,9 @@ class SingleLoginView(TemplateView):
|
|
elif code_type == '2':
|
|
elif code_type == '2':
|
|
redis_key = '{}_{}_GetDevicePassword'.format(email, uid)
|
|
redis_key = '{}_{}_GetDevicePassword'.format(email, uid)
|
|
email_type = 'get_device_password'
|
|
email_type = 'get_device_password'
|
|
|
|
+ elif code_type == '3':
|
|
|
|
+ redis_key = '{}_GetBackendVerificationCode'.format(email)
|
|
|
|
+ email_type = 'get_backend_verification_code'
|
|
else:
|
|
else:
|
|
return response.json(444)
|
|
return response.json(444)
|
|
|
|
|
|
@@ -3519,6 +3522,9 @@ class SingleLoginView(TemplateView):
|
|
elif code_type == '2':
|
|
elif code_type == '2':
|
|
redis_key = '{}_{}_GetDevicePassword'.format(phone, uid)
|
|
redis_key = '{}_{}_GetDevicePassword'.format(phone, uid)
|
|
temp_msg = 'SMS_479855154' if country_code == '86' else 'SMS_479785146'
|
|
temp_msg = 'SMS_479855154' if country_code == '86' else 'SMS_479785146'
|
|
|
|
+ elif code_type == '3':
|
|
|
|
+ redis_key = '{}_GetBackendVerificationCode'.format(phone)
|
|
|
|
+ temp_msg = 'SMS_151675022' if country_code == '86' else 'SMS_172165867'
|
|
else:
|
|
else:
|
|
return response.json(444)
|
|
return response.json(444)
|
|
|
|
|