mirror of
https://github.com/simple-login/app.git
synced 2025-10-13 16:57:24 +08:00
take into account user.notification setting in onboarding email
This commit is contained in:
parent
db651aa1ea
commit
f5a2eb387b
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ def new_app():
|
||||||
|
|
||||||
|
|
||||||
def onboarding_1(user):
|
def onboarding_1(user):
|
||||||
|
if not user.notification:
|
||||||
|
LOG.d("User %s disable notification setting", user)
|
||||||
|
return
|
||||||
|
|
||||||
send_email(
|
send_email(
|
||||||
user.email,
|
user.email,
|
||||||
f"Do you know you can send emails to anyone from your alias?",
|
f"Do you know you can send emails to anyone from your alias?",
|
||||||
|
|
Loading…
Add table
Reference in a new issue