Login Logo Fix

This commit is contained in:
Mario Fetka
2026-05-21 23:10:09 +02:00
parent ba8211e0da
commit ce43a20174

View File

@@ -128,6 +128,15 @@ if( $c[0] eq 'logout' )
exit; 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() ) if( ! valid_session() )
{ {
redirect( '/login' ); redirect( '/login' );