summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/server/lib/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/server/lib/session.php b/examples/server/lib/session.php
index 2c7d18f..b7544bb 100644
--- a/examples/server/lib/session.php
+++ b/examples/server/lib/session.php
@@ -100,6 +100,7 @@ function isTrusted($identity_url, $trust_root)
if (in_array($trust_root, $trusted_sites)) {
return true;
}
+
$sites = getSessionSites();
return isset($sites[$trust_root]) && $sites[$trust_root];
}