mirror of
https://github.com/simple-login/app.git
synced 2025-10-27 00:26:02 +08:00
mailbox is move to 2nd onboarding, pgp 3rd onboarding
This commit is contained in:
parent
f4d28a998a
commit
0acde29443
1 changed files with 5 additions and 4 deletions
|
|
@ -91,8 +91,8 @@ if __name__ == "__main__":
|
||||||
# user might delete their account in the meantime
|
# user might delete their account in the meantime
|
||||||
# or disable the notification
|
# or disable the notification
|
||||||
if user and user.notification and user.activated:
|
if user and user.notification and user.activated:
|
||||||
LOG.d("send onboarding pgp email to user %s", user)
|
LOG.d("send onboarding mailbox email to user %s", user)
|
||||||
onboarding_pgp(user)
|
onboarding_mailbox(user)
|
||||||
elif job.name == JOB_ONBOARDING_3:
|
elif job.name == JOB_ONBOARDING_3:
|
||||||
user_id = job.payload.get("user_id")
|
user_id = job.payload.get("user_id")
|
||||||
user = User.get(user_id)
|
user = User.get(user_id)
|
||||||
|
|
@ -100,8 +100,9 @@ if __name__ == "__main__":
|
||||||
# user might delete their account in the meantime
|
# user might delete their account in the meantime
|
||||||
# or disable the notification
|
# or disable the notification
|
||||||
if user and user.notification and user.activated:
|
if user and user.notification and user.activated:
|
||||||
LOG.d("send onboarding mailbox email to user %s", user)
|
LOG.d("send onboarding pgp email to user %s", user)
|
||||||
onboarding_mailbox(user)
|
onboarding_pgp(user)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
LOG.error("Unknown job name %s", job.name)
|
LOG.error("Unknown job name %s", job.name)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue