User session tracking #93587
@ -263,11 +263,10 @@ def construct_new_user_session(user, session_data):
|
||||
context = {
|
||||
"session_data": session_data,
|
||||
"user": user,
|
||||
"subject": "Security alert: new sign-in",
|
||||
}
|
||||
|
||||
email_body_txt = loader.render_to_string(
|
||||
"bid_main/emails/new_user_session.txt", context
|
||||
)
|
||||
|
||||
return email_body_txt, context["subject"]
|
||||
return email_body_txt, "Security alert: new sign-in"
|
||||
|
Loading…
Reference in New Issue
Block a user