sms content
This commit is contained in:
parent
bf26b01e37
commit
18e03e0131
1 changed files with 4 additions and 3 deletions
|
|
@ -228,9 +228,10 @@ class User(AbstractUser):
|
||||||
message = ("وینسو"
|
message = ("وینسو"
|
||||||
"\n"
|
"\n"
|
||||||
f"رمزیکبارمصرف: {body}"
|
f"رمزیکبارمصرف: {body}"
|
||||||
"\n"
|
# "\n"
|
||||||
# f"code is: {body}\n"
|
# # f"code is: {body}\n"
|
||||||
f"{settings.SMS_OTP_SIGNITURE}")
|
# f"{settings.SMS_OTP_SIGNITURE}"
|
||||||
|
)
|
||||||
send_sms(self.phone_number.strip('+'), message)
|
send_sms(self.phone_number.strip('+'), message)
|
||||||
return
|
return
|
||||||
# TODO: enable celery
|
# TODO: enable celery
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue