Commit 59cb7449 authored by erreur401's avatar erreur401

nothing

parent a768930e
......@@ -37,10 +37,10 @@ def page(path):
return render_template('flatpage.html', page=page)
@app.route("/login")
def login():
#return "Hello, World!"
return render_template("login.html")
# @app.route("/login")
# def login():
# #return "Hello, World!"
# return render_template("login.html")
@app.route("/contact")
def contact():
......@@ -94,6 +94,7 @@ class User(db.Document, UserMixin):
active = db.BooleanField(default=True)
confirmed_at = db.DateTimeField()
roles = db.ListField(db.ReferenceField(Role), default=[])
badge = db.BooleanField(default=True)
# Setup Flask-Security
user_datastore = MongoEngineUserDatastore(db, User, Role)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment