mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
create a custom alias with "my-first-alias" for first time user
This commit is contained in:
parent
139fc68bda
commit
779cb9c377
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue