a
This commit is contained in:
parent
22455a65e6
commit
9204141880
|
|
@ -707,6 +707,9 @@
|
|||
|
||||
function verifyPhoto() {
|
||||
showStep('step-verifying');
|
||||
|
||||
const base64Only = capturedImage.split(',')[1];
|
||||
|
||||
$.ajax({
|
||||
url: '/Contestation/verify_facial_api.php',
|
||||
method: 'POST',
|
||||
|
|
@ -714,7 +717,8 @@
|
|||
data: JSON.stringify({
|
||||
action: 'verify_face',
|
||||
token: verificationToken,
|
||||
image: capturedImage
|
||||
// image: capturedImage
|
||||
image: base64Only
|
||||
}),
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user