diff options
Diffstat (limited to 'examples/server/lib')
-rw-r--r-- | examples/server/lib/session.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/server/lib/session.php b/examples/server/lib/session.php index f44fb94..2c7d18f 100644 --- a/examples/server/lib/session.php +++ b/examples/server/lib/session.php @@ -92,6 +92,11 @@ function isTrusted($identity_url, $trust_root) { // from config.php global $trusted_sites; + + if ($identity_url != getLoggedInUser()) { + return false; + } + if (in_array($trust_root, $trusted_sites)) { return true; } |