summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-12 04:22:33 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-12 04:22:33 +0000
commite7900a6f1735bc922f2a25571bda7f9855e4825b (patch)
tree4579c99cbece818e6974a7c0a5aa66c4ac32c537
parentadd57e9e6a44a2ea8624d23df9350954c55a4f91 (diff)
fix
-rwxr-xr-xikiwiki3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index f65f96b01..ce89112de 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -746,7 +746,8 @@ sub cgi_signin ($$) { #{{{
if ($form->submitted && $form->validate) {
if ($form->submitted eq 'Login') {
$session->param("name", $form->field("name"));
- if (defined $form->field("do")) {
+ if (defined $form->field("do") &&
+ $form->field("do") ne 'signin') {
print $q->redirect(
"$cgiurl?do=".$form->field("do").
"&page=".$form->field("page"));