From 779cb9c3777f9336070acb53fabaeba91e5df83d Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 8 Dec 2019 17:00:22 +0100 Subject: [PATCH] create a custom alias with "my-first-alias" for first time user --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index 2fd092f7..2bbc23d6 100644 --- a/app/models.py +++ b/app/models.py @@ -113,7 +113,7 @@ class User(db.Model, ModelMixin, UserMixin): db.session.flush() # create a first alias mail to show user how to use when they login - GenEmail.create_new_gen_email(user_id=user.id) + GenEmail.create_custom_alias(user.id, prefix="my-first-alias") db.session.flush() return user