mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Let share errors show with their status codes instead of as basic_auth
This commit is contained in:
parent
1393fb6921
commit
6417aa8777
@ -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
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user