SMS_OTP_SIGNITURE

This commit is contained in:
Sayyid Hamid Mahdavi 2025-09-16 17:19:36 +03:30
parent a7a0dcde38
commit f2dcaafa01

View file

@ -224,7 +224,7 @@ class User(AbstractUser):
self.notify(body=str(self.otp), title='OTP')
def notify(self, body, title=None, notification_type='sms'):
message = f"رمزیکبارمصرف: {body}\n{settings.SMS_OTP_SIGNITURE}"
message = f"Your Winsoo code is: {body}\n{settings.SMS_OTP_SIGNITURE}"
send_sms(self.phone_number.strip('+'), message)
return
# TODO: enable celery