mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-01-17 03:55:19 +00:00
oopsie
This commit is contained in:
parent
ad834fd19a
commit
b62d58b9fc
|
@ -40,7 +40,7 @@ def create_app(): # pylint: disable=R0914
|
|||
with app.app_context():
|
||||
db.create_all()
|
||||
|
||||
register_user = db.Users(
|
||||
register_user = Users(
|
||||
username=app.config["ADMIN_CONF"]["username"],
|
||||
email=app.config["ADMIN_CONF"]["username"],
|
||||
password=generate_password_hash('changeme!', method="sha256"),
|
||||
|
|
|
@ -86,7 +86,7 @@ def register():
|
|||
print(error)
|
||||
return jsonify(error), 400
|
||||
|
||||
register_user = db.Users(
|
||||
register_user = Users(
|
||||
username=username,
|
||||
email=email,
|
||||
password=generate_password_hash(password, method="sha256"),
|
||||
|
|
Loading…
Reference in a new issue