Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential fixes #195

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading