From: Joey Hess <joey@kodama.kitenet.net>
Date: Mon, 7 Jan 2008 21:39:49 +0000 (-0500)
Subject: add explicit test for do=postsignin
X-Git-Tag: 2.19~7
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/dcf342f366706880e89bb5178c568094d05b21c4?hp=-c

add explicit test for do=postsignin

This happens when openid auth fails in certian ways
---

dcf342f366706880e89bb5178c568094d05b21c4
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index ea75caf9c..8809e8510 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -718,7 +718,7 @@ sub cgi (;$$) { #{{{
 	elsif ($do eq 'create' || $do eq 'edit') {
 		cgi_editpage($q, $session);
 	}
-	elsif (defined $session->param("postsignin")) {
+	elsif (defined $session->param("postsignin") || $do eq 'postsignin') {
 		cgi_postsignin($q, $session);
 	}
 	else {