Skip to content

Commit

Permalink
potential fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liberty-rising committed Jan 14, 2024
1 parent ec7a7a3 commit d8cbec1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/routes/user_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
get_password_hash,
verify_password,
)
from settings import SENDGRID_API_KEY, APP_HOST, APP_ENV
from utils.email import (
send_password_reset_email_with_sendgrid,
send_verification_email_with_sendgrid,
Expand Down Expand Up @@ -162,6 +163,9 @@ async def reset_password(request: ResetPasswordRequest):
async def send_verification_email(
request: SendVerificationEmailRequest, background_tasks: BackgroundTasks
):
print(
"APP_ENV", APP_ENV, "APP_HOST", APP_HOST, "SENDGRID_API_KEY", SENDGRID_API_KEY
)
print("Getting user by email")
with DatabaseManager() as session:
user_manager = UserManager(session)
Expand Down

0 comments on commit d8cbec1

Please sign in to comment.