Login Logo Fix
This commit is contained in:
@@ -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' );
|
||||||
|
|||||||
Reference in New Issue
Block a user