From dcf342f366706880e89bb5178c568094d05b21c4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 7 Jan 2008 16:39:49 -0500 Subject: [PATCH] add explicit test for do=postsignin This happens when openid auth fails in certian ways --- IkiWiki/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5