Allow admin to access speaker merge
This commit is contained in:
parent
6e50f9ad74
commit
99b180681f
2 changed files with 4 additions and 2 deletions
4
main.py
4
main.py
|
|
@ -156,7 +156,9 @@ def search_people() -> str:
|
|||
q = model.Person.query.filter(model.Person.name.ilike(f"%{search_for}%")).order_by(
|
||||
model.Person.name
|
||||
)
|
||||
return flask.render_template("search_people.html", q=q, search_for=search_for)
|
||||
return flask.render_template(
|
||||
"search_people.html", q=q, search_for=search_for, is_admin=check_admin_mode
|
||||
)
|
||||
|
||||
|
||||
@app.route("/merge", methods=["GET", "POST"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue