m3 Security Fixes

This commit is contained in:
Mark Gregory
2026-09-16 17:49:39 +01:00
parent 746fcaa8b1
commit 74f2387dfe
3 changed files with 5 additions and 5 deletions
@@ -76,7 +76,7 @@ class userControlController extends Controller
// connect to toolkit using DB2 credentials (can also leave blank for default authority)
try {
$conn = app(PostgresProgramBridge::class);
} catch (\Exception $e) {
} catch (\Throwable $e) {
// Determine reason for failure.
// Probably database authentication error or invalid or unreachable database.
$code = $e->getCode();
@@ -190,7 +190,7 @@ class userControlController extends Controller
// connect to toolkit using DB2 credentials (can also leave blank for default authority)
try {
$conn = app(PostgresProgramBridge::class);
} catch (\Exception $e) {
} catch (\Throwable $e) {
// Determine reason for failure.
// Probably database authentication error or invalid or unreachable database.
$code = $e->getCode();
@@ -290,7 +290,7 @@ class userControlController extends Controller
$conn = app(PostgresProgramBridge::class);
// dump($conn);
// echo "B4<br>";
} catch (\Exception $e) {
} catch (\Throwable $e) {
// echo "B5<br>";
// Determine reason for failure.
// Probably database authentication error or invalid or unreachable database.