From 4aaf7fe0e66c1f1577216078f8289e651021711b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 20 Jun 2025 09:16:26 +0300 Subject: [PATCH] header: move unneeded unauthenticated assets to authenticated Signed-off-by: XhmikosR --- scripts/lua/header.lp | 18 +++++++----------- scripts/lua/header_authenticated.lp | 2 ++ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/scripts/lua/header.lp b/scripts/lua/header.lp index 465624db..860a1d6f 100644 --- a/scripts/lua/header.lp +++ b/scripts/lua/header.lp @@ -96,27 +96,25 @@ is_authenticated = mg.request_info.is_authenticated - - + - - - + + + + + - - + @@ -133,7 +131,5 @@ is_authenticated = mg.request_info.is_authenticated - - diff --git a/scripts/lua/header_authenticated.lp b/scripts/lua/header_authenticated.lp index 6e9a7c94..609d7420 100644 --- a/scripts/lua/header_authenticated.lp +++ b/scripts/lua/header_authenticated.lp @@ -9,6 +9,7 @@ ]]-- mg.include('header.lp','r') ?> + @@ -20,6 +21,7 @@ mg.include('header.lp','r') +