]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/signinedit.pm
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[git.ikiwiki.info.git] / IkiWiki / Plugin / signinedit.pm
index 032a0034c0c4e3354ea8274a6259fb0478ad949e..8b44a68f725230118d7fe71619793a1bac3199b2 100644 (file)
@@ -29,6 +29,7 @@ sub canedit ($$$) {
        # signin can override this.
         if (! defined $session->param("name") ||
             ! IkiWiki::userinfo_get($session->param("name"), "regdate")) {
+               return "" unless exists $IkiWiki::hooks{auth};
                return sub { IkiWiki::needsignin($cgi, $session) };
        }
        else {