[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,9 +75,16 @@ class class_auth_backend
] ]
) )
); );
try
{
$data = $realm->source->read(); $data = $realm->source->read();
return ($data !== null); return ($data !== null);
} }
catch (\Throwable $throwable)
{
return false;
}
}
} }
} }