-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
BUGSomething isn't working and needs to be fixedSomething isn't working and needs to be fixedBack-EndBack-End Related TaskBack-End Related Task
Description
For testing purposes, user's one time password is currently being output to the console. Once a service to send an email is implemented, OTP(One Time Password) should be sent to the user's email.
Site/mesh/accounts/services.py
Lines 38 to 46 in 71d3499
| # sending email need authentication | |
| # send_mail( | |
| # "User OTP", | |
| # "the otp: {}".format(pyotp.TOTP(otp_base32, interval=90).now), | |
| # os.environ.get("EMAIL_NAME"), | |
| # [user.email], | |
| # fail_silently=False, | |
| # ) | |
| print(totp.now()) # for debug. remove after sending email works |
Metadata
Metadata
Assignees
Labels
BUGSomething isn't working and needs to be fixedSomething isn't working and needs to be fixedBack-EndBack-End Related TaskBack-End Related Task