Send email to user when they sign up
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
assigned to @remco.tukker
67 68 69 def send_admin_signup_notification(user: User): 70 fullname = user.fullname 71 email = user.email 72 oidc_sub = user.oidc_sub 73 74 contents = f"""{fullname} has just signed up with the email {email} and provider ID {oidc_sub}""" 75 send_mail(contents=contents, subject='New user signed up for Compendium') 76 77 78 def send_user_signup_notification(user: User): 79 fullname = user.fullname 80 email = user.email 81 82 first_name = ' ' + fullname.split()[0] if fullname else '' changed this line in version 2 of the diff
mentioned in commit 48f9c191
Please register or sign in to reply