Oauthentication gateway Fix
This commit is contained in:
parent
348f8ab57d
commit
fc8891425d
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
global $userManager;
|
||||
|
||||
$userManager = new UserManager();
|
||||
|
||||
if (
|
||||
isset($_POST['username']) &&
|
||||
|
@ -10,6 +9,7 @@ if (
|
|||
){
|
||||
$ota = false;
|
||||
$userName = $_POST['username'];
|
||||
echo $_POST['username'];
|
||||
$userPassword = $_POST['password'];
|
||||
$state = $_POST["state"];
|
||||
$clientId = $_POST["clientId"];
|
||||
|
|
|
@ -24,7 +24,6 @@ class Oauth extends Template
|
|||
$template->prepare('state', $_POST['state']);
|
||||
}
|
||||
|
||||
|
||||
$template->render();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue