Spaces:
Running
Running
Update akn/utils/gmail_verifed.py
Browse files
akn/utils/gmail_verifed.py
CHANGED
@@ -34,7 +34,7 @@ async def verify_otp_in_db(email: str, otp: str):
|
|
34 |
|
35 |
async def email_send_otp(email: str):
|
36 |
otp = generate_otp()
|
37 |
-
if email == ME_GMAIL:
|
38 |
return {"message": f"can't be blacklisted"}
|
39 |
await store_otp(email, otp)
|
40 |
try:
|
|
|
34 |
|
35 |
async def email_send_otp(email: str):
|
36 |
otp = generate_otp()
|
37 |
+
if email == str(ME_GMAIL):
|
38 |
return {"message": f"can't be blacklisted"}
|
39 |
await store_otp(email, otp)
|
40 |
try:
|