summaryrefslogtreecommitdiffstats
path: root/examples/server/trust.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/trust.php')
-rw-r--r--examples/server/trust.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/server/trust.php b/examples/server/trust.php
deleted file mode 100644
index 62a860a..0000000
--- a/examples/server/trust.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-require_once "common.php";
-
-init();
-
-if (!isset($_SESSION['request'])) {
- // Should not happen
- redirect($server_url);
-}
-
-$info = unserialize($_SESSION['request']);
-
-unset($_SESSION['request']);
-
-if (isset($_POST['trust'])) {
- // This is a trusted site, so continue
- succeed($info);
-} else {
- redirect($info->getCancelURL());
-}
-
-?> \ No newline at end of file