diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-13 04:29:31 +0200 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-13 04:29:31 +0200 |
| commit | 7b7ef4e9ba4d3c77bd874f4851f5165c06a27a5a (patch) | |
| tree | 84f8ed8ba06b175159961b89701dee8f949be57e | |
| parent | 2c23fa39fd94de1cb2f725e07058a025537976e6 (diff) | |
| download | nixos-7b7ef4e9ba4d3c77bd874f4851f5165c06a27a5a.tar nixos-7b7ef4e9ba4d3c77bd874f4851f5165c06a27a5a.tar.gz nixos-7b7ef4e9ba4d3c77bd874f4851f5165c06a27a5a.tar.bz2 nixos-7b7ef4e9ba4d3c77bd874f4851f5165c06a27a5a.tar.xz nixos-7b7ef4e9ba4d3c77bd874f4851f5165c06a27a5a.zip | |
wrong field name
| -rw-r--r-- | customized/fetch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/customized/fetch.sh b/customized/fetch.sh index a470b942..8ea615a1 100644 --- a/customized/fetch.sh +++ b/customized/fetch.sh | |||
| @@ -26,7 +26,7 @@ csrf=$($curl $loginUrl | xidel - -e '//input[@id="csrf_token"]/@value') | |||
| 26 | 26 | ||
| 27 | # Log in. We don't especially care about the result, but let's check if login failed. | 27 | # Log in. We don't especially care about the result, but let's check if login failed. |
| 28 | $curl --data-urlencode csrf_token="$csrf" \ | 28 | $curl --data-urlencode csrf_token="$csrf" \ |
| 29 | --data-urlencode username_or_email@username \ | 29 | --data-urlencode username@username \ |
| 30 | --data-urlencode password@password \ | 30 | --data-urlencode password@password \ |
| 31 | -d action=Login \ | 31 | -d action=Login \ |
| 32 | $loginUrl -D headers > /dev/null | 32 | $loginUrl -D headers > /dev/null |
