Code Duplication    Length = 7-8 lines in 2 locations

php/jodel-web.php 1 location

@@ 40-47 (lines=8) @@
37
	die();
38
}
39
40
if(isset($_GET['solution']) && isset($_GET['key']) && isset($_GET['deviceUid']))
41
{
42
	$jodelAccount = new JodelAccount($_GET['deviceUid']);
43
	$response = array("success" => $jodelAccount->verifyCaptcha());
44
	echo json_encode($response);
45
46
	die();
47
}
48
49
function user_log($msg)
50
{

vote-ajax.php 1 location

@@ 23-29 (lines=7) @@
20
else
21
{
22
23
if(isset($_GET['solution']) && isset($_GET['key']) && isset($_POST['deviceUid']))
24
{
25
	$jodelAccount = new JodelAccount($_POST['deviceUid']);
26
	$response = array("success" => $jodelAccount->verifyCaptcha());
27
	echo json_encode($response);
28
	die();
29
}
30
31
$message = "";
32
$success = true;