Skip to content

Commit

Permalink
Fix issue mozilla#210 - Set header form submission
Browse files Browse the repository at this point in the history
  • Loading branch information
alicoding committed Jul 12, 2016
1 parent b1e54be commit f086720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/encrypt-signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ module.exports = React.createClass({
if (firstName) {
params += `&first_name=` + firstName;
}

request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
request.onreadystatechange = () => {
if (request.readyState === 4) {
if (request.status === 200) {
Expand Down

0 comments on commit f086720

Please sign in to comment.