summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/sup.sh2
1 files changed, 1 insertions, 1 deletions
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=$(