fd
This commit is contained in:
parent
e0cbefe7f6
commit
6f7ed13cd0
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ beams_client = PushNotifications(
|
|||
@auth_required
|
||||
def banawardcomment(comment_id, v):
|
||||
|
||||
if not v.banawards > 0: return render_template("errors/402.html", v=v)
|
||||
if not v.banawards > 0: return render_template("errors/banaward.html", v=v)
|
||||
|
||||
comment = g.db.query(Comment).filter_by(id=comment_id).first()
|
||||
if not comment: abort(400)
|
||||
|
|
|
@ -49,7 +49,7 @@ def resize():
|
|||
@auth_required
|
||||
def postbanaward(post_id, v):
|
||||
|
||||
if not v.banawards > 0: return render_template("errors/402.html", v=v)
|
||||
if not v.banawards > 0: return render_template("errors/banaward.html", v=v)
|
||||
|
||||
post = g.db.query(Submission).filter_by(id=post_id).first()
|
||||
if not post: abort(400)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>403 Unauthorized</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block pagetype %}error-405{% endblock %}
|
||||
{% block pagetype %}error-403{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row justify-content-center">
|
Loading…
Add table
Add a link
Reference in a new issue