forked from rDrama/rDrama
dfs
parent
25ba9a33a3
commit
01f417a277
|
@ -308,7 +308,8 @@ def award_comment(cid, v):
|
||||||
g.db.add(c.author)
|
g.db.add(c.author)
|
||||||
|
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
return redirect(request.referrer)
|
if request.referrer and len(request.referrer) > 1: return redirect(request.referrer)
|
||||||
|
else: return redirect("/")
|
||||||
|
|
||||||
@app.get("/admin/user_award")
|
@app.get("/admin/user_award")
|
||||||
@auth_required
|
@auth_required
|
||||||
|
|
Loading…
Reference in New Issue