Let share errors show with their status codes instead of as basic_auth

This commit is contained in:
nathan 2023-08-03 15:10:58 -06:00
parent 1393fb6921
commit 6417aa8777

View File

@ -21,7 +21,7 @@ $GLOBALS['egw_info'] = array(
'nonavbar' => 'always', // true would cause eTemplate to reset it to false for non-popups! 'nonavbar' => 'always', // true would cause eTemplate to reset it to false for non-popups!
'currentapp' => 'api', 'currentapp' => 'api',
'autocreate_session_callback' => 'EGroupware\\Api\\Sharing::create_session', 'autocreate_session_callback' => 'EGroupware\\Api\\Sharing::create_session',
'no_exception_handler' => 'basic_auth', // we use a basic auth exception handler (sends exception message as basic auth realm) 'no_exception_handler' => true, // we send our own errors
) )
); );