create a custom alias with "my-first-alias" for first time user
This commit is contained in:
parent
139fc68bda
commit
779cb9c377
|
@ -113,7 +113,7 @@ class User(db.Model, ModelMixin, UserMixin):
|
||||||
db.session.flush()
|
db.session.flush()
|
||||||
|
|
||||||
# create a first alias mail to show user how to use when they login
|
# 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()
|
db.session.flush()
|
||||||
|
|
||||||
return user
|
return user
|
||||||
|
|
Loading…
Reference in a new issue