@@ -, +, @@ --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -1503,7 +1503,7 @@ sub check_api_auth { -HttpOnly => 1, -secure => ( C4::Context->https_enabled() ? 1 : 0 ), ); - return ( $return, undef, $session ); + return ( $return, $cookie, $session ); # return == 'ok' here } else { --