diff --git a/auth.py b/auth.py index e604ed0..72c2cca 100644 --- a/auth.py +++ b/auth.py @@ -152,7 +152,7 @@ def require_secret(f): header_text_color = app_config.get('header_text_color', '#fff') background_color = app_config.get('background_color', '#fff') main_text_color = app_config.get('main_text_color', '#000') - return render_template('index.html', + return render_template('permission.html', title_short=title_short, title_long=title_long, header_color=header_color, @@ -160,7 +160,7 @@ def require_secret(f): main_text_color=main_text_color, background_color=background_color, admin_enabled=is_admin() - ) + ), 403 # Forbidden return decorated_function def require_admin(f): diff --git a/templates/index.html b/templates/permission.html similarity index 100% rename from templates/index.html rename to templates/permission.html