Server Fixes

This commit is contained in:
2020-07-23 15:16:44 +02:00
parent 0323323bb1
commit 727ed03be7
8 changed files with 25 additions and 21 deletions

View File

@@ -4,14 +4,12 @@ class Oauth extends Template
function __construct()
{
global $userManager;
global $lang;
$langMng = new LanguageManager('en');
$template = new Template('oauth');
$template->prepare('baseDir', BASEDIR);
$template->prepare('title', 'Simple Home - Oauth');
$template->prepare('lang', $lang);
if (isset($_GET['redirect_uri'])) {
$template->prepare('responseType', $_GET['response_type']);
$template->prepare('redirectUrl', $_GET['redirect_uri']);