mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 07:43:54 +08:00
fix formatting
This commit is contained in:
parent
48edb85fc9
commit
e810c99970
1 changed files with 1 additions and 3 deletions
|
@ -47,9 +47,7 @@ def register():
|
|||
flash(f"Email {email} already used", "error")
|
||||
else:
|
||||
LOG.debug("create user %s", form.email.data)
|
||||
user = User.create(
|
||||
email=email, name="", password=form.password.data,
|
||||
)
|
||||
user = User.create(email=email, name="", password=form.password.data,)
|
||||
db.session.commit()
|
||||
|
||||
send_activation_email(user, next_url)
|
||||
|
|
Loading…
Reference in a new issue