Skip to content

Commit

Permalink
feat(redirects): follow all redirects option
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Jan 27, 2017
1 parent 980bcc5 commit 86e85d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/csrf-login.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function csrfLogin(options) {
var options = {
url: loginUrl,
formData: form,
followRedirect: true,
followAllRedirects: true,
headers: {
referer: host
}
Expand Down

0 comments on commit 86e85d2

Please sign in to comment.