remotes/1693045480750635534/spooky-22
Aevann1 2021-08-05 19:32:24 +02:00
parent 90c8129128
commit 8e7294be22
1 changed files with 2 additions and 2 deletions

View File

@ -135,8 +135,8 @@ def login_post():
@app.get("/@me")
@auth_required
def me(v):
if request.headers.get("Authorization"): v.json
else: redirect(v.url)
if request.headers.get("Authorization"): return v.json
else: return redirect(v.url)
@app.post("/logout")