diff options
-rw-r--r-- | examples/server/lib/common.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/server/lib/common.php b/examples/server/lib/common.php index 68ab0d9..338bad2 100644 --- a/examples/server/lib/common.php +++ b/examples/server/lib/common.php @@ -63,7 +63,9 @@ function doAuth($info, $trusted=null, $fail_cancels=false) return login_render(array(), $req_url, $req_url); } + $sites = getSessionSites(); $trust_root = $info->getTrustRoot(); + $fail_cancels = $fail_cancels || isset($sites[$trust_root]); $trusted = isset($trusted) ? $trusted : isTrusted($req_url, $trust_root); if ($trusted) { setRequestInfo(); |