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