prevent send sms
This commit is contained in:
parent
4f7aa2fb12
commit
b37d1a64f5
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ class User(AbstractUser):
|
|||
self.notify(body=str(self.otp), title='OTP')
|
||||
|
||||
def notify(self, body, title=None, notification_type='sms'):
|
||||
return
|
||||
# TODO: enable celery
|
||||
send_notification(phone_number=self.phone_number,
|
||||
title=title,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue