| @@ 41-48 (lines=8) @@ | ||
| 38 | die(); |
|
| 39 | } |
|
| 40 | ||
| 41 | if(isset($_GET['solution']) && isset($_GET['key']) && isset($_GET['deviceUid'])) |
|
| 42 | { |
|
| 43 | $jodelAccount = new JodelAccount($_GET['deviceUid']); |
|
| 44 | $response = array("success" => $jodelAccount->verifyCaptcha()); |
|
| 45 | echo json_encode($response); |
|
| 46 | ||
| 47 | die(); |
|
| 48 | } |
|
| 49 | ||
| 50 | function user_log($msg) |
|
| 51 | { |
|
| @@ 12-18 (lines=7) @@ | ||
| 9 | die(); |
|
| 10 | } |
|
| 11 | ||
| 12 | if(isset($_GET['solution']) && isset($_POST['deviceUid'])) |
|
| 13 | { |
|
| 14 | $jodelAccount = new JodelAccount($_POST['deviceUid']); |
|
| 15 | $response = array("success" => $jodelAccount->verifyCaptcha()); |
|
| 16 | echo json_encode($response); |
|
| 17 | die(); |
|
| 18 | } |
|
| 19 | $userIsAdmin = isUserAdmin(); |
|
| 20 | $userIsVoter = isUserVoter(); |
|
| 21 | ||