From 9b470ca58cfb5b4361ad602f03c781cdb9b1a52c Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 4 Oct 2021 10:49:09 -0400 Subject: Fix lobsters/tildenews login They started sending links with "&username=june" tacked on after the token. Don't know why since if you load the form with just the token in the URL it still knows your username, and it's not submitted as a hidden field or anything, but whatever. --- bin/sup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sup.sh b/bin/sup.sh index 1772f312..a261cb7f 100644 --- a/bin/sup.sh +++ b/bin/sup.sh @@ -151,7 +151,7 @@ lobsters() { git fetch-email -i -M Trash \ -F "${lobstersFrom}" -T "${email}" \ -S 'Reset your password' | - sed -n 's|^https://.*[?]token=\(.*\)|\1|p' + sed -n 's|^https://.*[?]token=\([^&]*\).*|\1|p' ) echo 'Fetching CSRF token...' csrf=$( -- cgit 1.4.1 '>
summary refs log tree commit diff
path: root/home (unfollow)
Commit message (Expand)Author
2019-12-20Source .editrc before applying -v or -eJune McEnroe
2019-12-20Disable signing commitsJune McEnroe
2019-12-19Ignore about-filterJune McEnroe
2019-12-19Fix matching make tags with no sourcesJune McEnroe
2019-12-19Avoid matching := assignments as tagsJune McEnroe
2019-12-18Hide line numbers when rendering mdocJune McEnroe
2019-12-18Customize cgit CSSJune McEnroe
2019-12-18Use :target rather than :focus pseudo-classJune McEnroe
2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe
2019-12-18Add git.causal.agency cgit configJune McEnroe
2019-12-18Bail from hi if input is binaryJune McEnroe
2019-12-16Post "cgit setup"June McEnroe