--- aur-git/web/lib/acctfuncs.inc	2008-03-31 01:19:09.000000000 +0200
+++ b/web/lib/acctfuncs.inc	2008-05-11 18:54:32.000000000 +0200
@@ -645,7 +645,7 @@
 
 				setcookie("AURSID", $new_sid, 0, "/");
 #				header("Location: /index.php");
-				header("Location: " . $_SERVER['PHP_SELF']);
+				header("Location: " . $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']);
 				$login_error = "";
 
 			}
