diff --git a/lib/SimpleSAML/Store/SQL.php b/lib/SimpleSAML/Store/SQL.php
index adfa6b56e2e372039339daedd8d2034a7249b2a6..c4f2e2c4e90f6a84bbc0e62f22c709e807ad4d9b 100644
--- a/lib/SimpleSAML/Store/SQL.php
+++ b/lib/SimpleSAML/Store/SQL.php
@@ -48,7 +48,7 @@ class SQL extends Store
     /**
      * Initialize the SQL data store.
      */
-    protected function __construct()
+    public function __construct()
     {
         $config = Configuration::getInstance();