[mod] auth_backend:try-catch for source-read

This commit is contained in:
fenris 2025-09-22 01:00:27 +02:00
parent 93abd2dfd8
commit f3dec069e1

View file

@ -75,8 +75,15 @@ class class_auth_backend
] ]
) )
); );
$data = $realm->source->read(); try
return ($data !== null); {
$data = $realm->source->read();
return ($data !== null);
}
catch (\Throwable $throwable)
{
return false;
}
} }
} }
} }