diff --git a/files/routes/front.py b/files/routes/front.py index 2ed383775..cc367e872 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -43,7 +43,7 @@ def front_all(v, sub=None, subdomain=None): #### WPD TEMP #### end special front logic if sub: sub = get_sub_by_name(sub, graceful=True) - if sub and not User.can_see(v, sub): abort(403) + if sub and not User.can_see(v, sub): abort(403, "You need 5000 truescore to be able to see /h/chudrama") if (request.path.startswith('/h/') or request.path.startswith('/s/')) and not sub: abort(404) diff --git a/files/templates/errors/error.html b/files/templates/errors/error.html index d4f92a9dc..1e665add1 100644 --- a/files/templates/errors/error.html +++ b/files/templates/errors/error.html @@ -11,7 +11,7 @@
{{code}} {{title}}

{{msg|safe}}

{% if details -%} -
{{details|safe}}
+
{{details|safe}}
{%- endif %}
Go to frontpage