fix formatting
This commit is contained in:
parent
48edb85fc9
commit
e810c99970
|
@ -47,9 +47,7 @@ def register():
|
||||||
flash(f"Email {email} already used", "error")
|
flash(f"Email {email} already used", "error")
|
||||||
else:
|
else:
|
||||||
LOG.debug("create user %s", form.email.data)
|
LOG.debug("create user %s", form.email.data)
|
||||||
user = User.create(
|
user = User.create(email=email, name="", password=form.password.data,)
|
||||||
email=email, name="", password=form.password.data,
|
|
||||||
)
|
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
send_activation_email(user, next_url)
|
send_activation_email(user, next_url)
|
||||||
|
|
Loading…
Reference in a new issue