Compare commits
1 Commits
ba8211e0da
...
ce43a20174
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce43a20174 |
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user