summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"));