From 082fbf76d4dda9d140cd74a1a21e92e64f8bfe8d Mon Sep 17 00:00:00 2001 From: n9k Date: Sat, 25 Jun 2022 06:07:33 +0000 Subject: [PATCH] Error pages: make target="_top" for elements --- anonstream/routes/wrappers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/anonstream/routes/wrappers.py b/anonstream/routes/wrappers.py index b6fe9e6..cd184ae 100644 --- a/anonstream/routes/wrappers.py +++ b/anonstream/routes/wrappers.py @@ -120,7 +120,9 @@ def with_user_from(context, fallback_to_token=False): raise Unauthorized(Markup( f"You are using the broadcaster's token but you are " f"not logged in. The broadcaster should " - f"click here " + f"" + f"click here" + f" " f"and log in with the credentials printed in their " f"terminal when they started anonstream." )) @@ -137,7 +139,7 @@ def with_user_from(context, fallback_to_token=False): else: raise Forbidden(Markup( f"You have not solved the access captcha. " - f"" + f"" f"Click here." f"" ))