|
|
|
@ -313,7 +313,10 @@ class UserRecoverPassword(CreateAPIView): |
|
|
|
print(f' send {code}') |
|
|
|
phone_number = RedisManager().add_to_redis(code, fullname=str(user.fullname), password='', email=data['email']) |
|
|
|
|
|
|
|
send_email([data['email']], code) |
|
|
|
try: |
|
|
|
send_email([data['email']], code) |
|
|
|
except Exception as exp: |
|
|
|
print(f'-exp-register-->{exp}') |
|
|
|
|
|
|
|
return Response( |
|
|
|
data= { |
|
|
|
|