Skip to content
Snippets Groups Projects
Commit 64eed2b0 authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #15452 [fid] ILSAuthenticator bug fix

parent d9f7359d
No related merge requests found
......@@ -42,8 +42,13 @@ class ILSAuthenticator
*/
public function storedCatalogLogin()
{
$user = $this->client->requestUserDetails();
try {
$user = $this->client->requestUserDetails();
} catch (ClientException $e) {
if ($e->getCode() == '401') {
return null;
} else throw $e;
}
if (!$user) {
return null;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment