]> sipb.mit.edu Git - ikiwiki.git/commitdiff
add explicit test for do=postsignin
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 7 Jan 2008 21:39:49 +0000 (16:39 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 7 Jan 2008 21:39:49 +0000 (16:39 -0500)
This happens when openid auth fails in certian ways

IkiWiki/CGI.pm

index ea75caf9c69dc9cff86fdbe75cbacfc15437b744..8809e85106407a98d801f1717da76a931f5ba14d 100644 (file)
@@ -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 {