"list staffers pdf"
This commit is contained in:
parent
efaaa60c2c
commit
f29b16320e
@ -1064,10 +1064,10 @@ def print_users():
|
|||||||
return render_template('list_users.html', staffers=staffers)
|
return render_template('list_users.html', staffers=staffers)
|
||||||
# User is not admin
|
# User is not admin
|
||||||
return render_template('login_or_register.html', message="Utilisateur ou mot de passe invalide")
|
return render_template('login_or_register.html', message="Utilisateur ou mot de passe invalide")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise e
|
raise e
|
||||||
# User is not logged in
|
# User is not logged in
|
||||||
return render_template('login_or_register.html', message="%s" % e)
|
return render_template('login_or_register.html', message="%s" % e)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/account/<ID>", methods=['GET', 'POST'])
|
@app.route("/account/<ID>", methods=['GET', 'POST'])
|
||||||
|
Loading…
Reference in New Issue
Block a user