fsfs
This commit is contained in:
parent
9b4f03a478
commit
d29014a3a6
15 changed files with 140 additions and 140 deletions
|
@ -98,7 +98,7 @@ def discord_redirect(v):
|
|||
requests.delete(url, headers=headers, timeout=5)
|
||||
|
||||
if g.db.query(User).filter(User.id!=v.id, User.discord_id==x["id"]).first():
|
||||
if v and v.oldsite: template = ''
|
||||
if not v or v.oldsite: template = ''
|
||||
else: template = 'CHRISTMAS/'
|
||||
return render_template(f"{template}message.html", title="Discord account already linked.", error="That Discord account is already in use by another user.", v=v)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue