User session tracking #93587

Merged
Oleg-Komarov merged 18 commits from user-session into main 2024-08-02 16:04:09 +02:00
Showing only changes of commit 8aed6094be - Show all commits

View File

@ -264,9 +264,9 @@ def construct_new_user_session(user, session_data):
"session_data": session_data, "session_data": session_data,
"user": user, "user": user,
} }
email_body_txt = loader.render_to_string( email_body_txt = loader.render_to_string(
"bid_main/emails/new_user_session.txt", context "bid_main/emails/new_user_session.txt", context
) )
subject = "Security alert: new sign-in"
return email_body_txt, "Security alert: new sign-in" return email_body_txt, subject