fsd
This commit is contained in:
parent
86bb7aaf9b
commit
11a6ce1a90
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ GUMROAD_TOKEN = environ.get("GUMROAD_TOKEN", "").strip()
|
||||||
month = datetime.now().strftime('%B')
|
month = datetime.now().strftime('%B')
|
||||||
|
|
||||||
|
|
||||||
@app.post('/admin/merge/<id1>/<id2>')
|
@app.get('/admin/merge/<id1>/<id2>')
|
||||||
@admin_level_required(3)
|
@admin_level_required(3)
|
||||||
def merge(v, id1, id2):
|
def merge(v, id1, id2):
|
||||||
if v.id != AEVANN_ID: abort(403)
|
if v.id != AEVANN_ID: abort(403)
|
||||||
|
@ -84,7 +84,7 @@ def merge(v, id1, id2):
|
||||||
return redirect(user1.url)
|
return redirect(user1.url)
|
||||||
|
|
||||||
|
|
||||||
@app.post('/admin/merge_all/<id>')
|
@app.get('/admin/merge_all/<id>')
|
||||||
@admin_level_required(3)
|
@admin_level_required(3)
|
||||||
def merge_all(v, id):
|
def merge_all(v, id):
|
||||||
if v.id != AEVANN_ID: abort(403)
|
if v.id != AEVANN_ID: abort(403)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue