m3 Security Fixes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user