]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/anonok.pm
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git] / IkiWiki / Plugin / anonok.pm
index 1cbdfe4e5f337972c5c2a92e3cbb84aa5ebd514b..0e74cbfadfbe71986ae2755b98d979cd3d00cb9b 100644 (file)
@@ -3,7 +3,7 @@ package IkiWiki::Plugin::anonok;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 
 sub import {
        hook(type => "getsetup", id => "anonok", call => \&getsetup);
 
 sub import {
        hook(type => "getsetup", id => "anonok", call => \&getsetup);
@@ -15,6 +15,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => 0,
                plugin => {
                        safe => 1,
                        rebuild => 0,
+                       section => "auth",
                },
                anonok_pagespec => {
                        type => "pagespec",
                },
                anonok_pagespec => {
                        type => "pagespec",