mirror of https://gitlab.com/litecord/litecord.git
blueprints.auth: fix create_user call
This commit is contained in:
parent
4d87256cc3
commit
2674e76e62
|
|
@ -77,7 +77,7 @@ async def register():
|
||||||
|
|
||||||
username, password = j["username"], j["password"]
|
username, password = j["username"], j["password"]
|
||||||
|
|
||||||
new_id, pwd_hash = await create_user(username, email, password, app.db)
|
new_id, pwd_hash = await create_user(username, email, password)
|
||||||
|
|
||||||
if invite:
|
if invite:
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue