@@ -39,7 +39,7 @@ def index():
def codes():
"""codes overview"""
code = Code.query.order_by(Code.expire_date.desc()).first()
- users = User.query.all()
+ users = User.query.filter(User.party_member == True, User.alt == False).all()
return render_template(
'backend_vote/codes.j2',