fd
This commit is contained in:
parent
9c9df57988
commit
cada51f145
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ def submit_get(v):
|
|||
@auth_desired
|
||||
def post_id(pid, anything=None, v=None):
|
||||
|
||||
if not v and "logged_out" not in request.path: return redirect(f"/logged_out/post/{pid}")
|
||||
if not v and "logged_out" not in request.path and not request.headers.get("Authorization"): return redirect(f"/logged_out/post/{pid}")
|
||||
|
||||
if v and "logged_out" in request.full_path: v = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue