forked from rDrama/rDrama
hide header
parent
b1b9bd149c
commit
a142c5535a
|
@ -282,6 +282,8 @@ def api(v):
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def contact(v):
|
def contact(v):
|
||||||
listing, total, page = modmail_listing(v)
|
listing, total, page = modmail_listing(v)
|
||||||
|
err = v and v.is_suspended and 'underage' in v.ban_reason.lower()
|
||||||
|
print(err, flush=True)
|
||||||
return render_template("contact.html",
|
return render_template("contact.html",
|
||||||
v=v,
|
v=v,
|
||||||
listing=listing,
|
listing=listing,
|
||||||
|
@ -289,6 +291,7 @@ def contact(v):
|
||||||
page=page,
|
page=page,
|
||||||
standalone=True,
|
standalone=True,
|
||||||
render_replies=True,
|
render_replies=True,
|
||||||
|
err=err,
|
||||||
)
|
)
|
||||||
|
|
||||||
@app.post("/contact")
|
@app.post("/contact")
|
||||||
|
|
Loading…
Reference in New Issue