User session tracking #93587
@ -264,9 +264,9 @@ def construct_new_user_session(user, session_data):
|
||||
"session_data": session_data,
|
||||
"user": user,
|
||||
}
|
||||
|
||||
email_body_txt = loader.render_to_string(
|
||||
"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
|
||||
|
Loading…
Reference in New Issue
Block a user