mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 23:02:55 +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):
|
||||
if not user.notification:
|
||||
LOG.d("User %s disable notification setting", user)
|
||||
return
|
||||
|
||||
send_email(
|
||||
user.email,
|
||||
f"Do you know you can send emails to anyone from your alias?",
|
||||
|
|
Loading…
Reference in a new issue