From ce43a2017404e01fa7fd7cbd9fe4b2fa11d7678a Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 21 May 2026 23:10:09 +0200 Subject: [PATCH] Login Logo Fix --- smart.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/smart.cmake b/smart.cmake index 0266961..df075a8 100644 --- a/smart.cmake +++ b/smart.cmake @@ -128,6 +128,15 @@ if( $c[0] eq 'logout' ) exit; } +# Static assets must be available before login, otherwise the login page +# cannot load the SMArT logo and icons. +if( $c[0] eq 'static' ) +{ + do( $smart_libexec_dir . '/static.pl' ); + handle_request(); + exit; +} + if( ! valid_session() ) { redirect( '/login' );