|
@@ -3397,7 +3397,7 @@ class SingleLoginView(TemplateView):
|
|
|
email = email.strip()
|
|
|
# 阿里云的发送邮箱的调用方法
|
|
|
return self.get_aliyun_email_code(email, response)
|
|
|
- elif phone is not None and code_type == 1:
|
|
|
+ elif phone is not None and code_type == "1":
|
|
|
phone = phone.strip()
|
|
|
country_code = str(country_code.strip())
|
|
|
return self.get_change_phone_code(country_code, phone, response, sign_name)
|