aboutsummaryrefslogtreecommitdiff
path: root/login.old/embed/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'login.old/embed/index.php')
-rw-r--r--login.old/embed/index.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/login.old/embed/index.php b/login.old/embed/index.php
deleted file mode 100644
index 9fc6274..0000000
--- a/login.old/embed/index.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-$_CONFIG = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/private/FamilineConfig.json"), true);
-
-header("Location: https://" . $_CONFIG["Global"]["federation"] . "/hub/api/rest/oauth2/auth?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/private/app.json"), true)["id"] . "&response_type=code&redirect_uri=https://" . $_CONFIG["Global"]["domain"] . "/oauth/embed&scope=hub&request_credentials=default&access_type=offline");
-die();