"List_users: Don't show unconfirmed users"
This commit is contained in:
parent
0e97c2a3a9
commit
d0baccc99a
@ -1043,7 +1043,7 @@ def list_users():
|
|||||||
page = str(request.url_rule)
|
page = str(request.url_rule)
|
||||||
menu = get_menu(page)
|
menu = get_menu(page)
|
||||||
message = check_user_info()
|
message = check_user_info()
|
||||||
staffers = Tetawebapp_users.query.filter(is_admin==0, link_id==None).order_by(Tetawebapp_users.name).all()
|
staffers = Tetawebapp_users.query.filter(Tetawebapp_users.is_admin==0, Tetawebapp_users.link_id==None).order_by(Tetawebapp_users.name).all()
|
||||||
return render_template('list_users.html', menu=menu, staffers=staffers, message=message)
|
return render_template('list_users.html', menu=menu, staffers=staffers, message=message)
|
||||||
|
|
||||||
@app.route("/account/<ID>", methods=['GET', 'POST'])
|
@app.route("/account/<ID>", methods=['GET', 'POST'])
|
||||||
|
Loading…
Reference in New Issue
Block a user