diff --git a/module/VuFind/src/VuFind/Controller/InstallController.php b/module/VuFind/src/VuFind/Controller/InstallController.php
index ad4edf7ad89cfec08e9b5c8d7f798d3580e60b83..0cb93d909fa64fb2b7cb01f749ef258da541033a 100644
--- a/module/VuFind/src/VuFind/Controller/InstallController.php
+++ b/module/VuFind/src/VuFind/Controller/InstallController.php
@@ -585,8 +585,8 @@ class InstallController extends AbstractBase
             try {
                 $rows = $this->getTable('user')->getInsecureRows();
                 $status = (count($rows) == 0);
-            } catch (\VuFind\Exception\PasswordSecurity $e) {
-                // Any security exception means we have a problem!
+            } catch (\Exception $e) {
+                // Any exception means we have a problem!
                 $status = false;
             }
         }