Auth Manager Fix

This commit is contained in:
JonatanRek 2020-05-17 14:15:54 +02:00
parent fef3c1e57f
commit 862fc29bde
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
class AuthManager {
public function getToken($username, $password, $userAgent = null){
if ($userAgent == null) {
$userAgent = $this->headers['HTTP_USER_AGENT'];
$userAgent = $_SERVER['HTTP_USER_AGENT'];
}
$userManager = new UserManager();