Add application/json as content type for JSON requests
This commit is contained in:
@@ -31,7 +31,8 @@ import globalize from 'globalize';
|
||||
dataType: 'json',
|
||||
data: JSON.stringify({
|
||||
Pin: view.querySelector('#txtPin').value
|
||||
})
|
||||
}),
|
||||
contentType: 'application/json'
|
||||
}).then(processForgotPasswordResult);
|
||||
e.preventDefault();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user