aboutsummaryrefslogtreecommitdiff
path: root/app/views/users/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/users.py')
-rw-r--r--app/views/users/users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/users.py b/app/views/users/users.py
index 6317d6b..02def25 100644
--- a/app/views/users/users.py
+++ b/app/views/users/users.py
@@ -35,8 +35,8 @@ class UserProfileForm(FlaskForm):
rank = SelectField("Rank", [Optional()], choices=UserRank.choices(), coerce=UserRank.coerce, default=UserRank.NEW_MEMBER)
submit = SubmitField("Save")
+
@app.route("/users/", methods=["GET"])
-@login_required
def user_list_page():
users = User.query.order_by(db.desc(User.rank), db.asc(User.display_name)).all()
return render_template("users/list.html", users=users)