0){ header("Location: client.php?client_id=$client_id"); }else{ header("Location: $config_start_page"); } }else{ require_once("rfc6238.php"); if(TokenAuth6238::verify($token,$current_code)){ $_SESSION['logged'] = TRUE; $_SESSION['user_id'] = $row['user_id']; $_SESSION['name'] = $row['name']; $_SESSION['client_id'] = $row['client_id']; $client_id = $row['client_id']; header("Location: $config_start_page"); }else{ $response = "