projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f22ee8
)
allow do=setup to log a user in if necessary
author
Joey Hess
<joey@kitenet.net>
Mon, 3 May 2010 17:46:52 +0000
(13:46 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 3 May 2010 17:46:52 +0000
(13:46 -0400)
IkiWiki/Plugin/websetup.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/websetup.pm
b/IkiWiki/Plugin/websetup.pm
index 3de8f4bf3dfad8716848f88b6cd3baa676aaa367..cb6a7e412b601a1dfefc8b0403d7b3f658da1da5 100644
(file)
--- a/
IkiWiki/Plugin/websetup.pm
+++ b/
IkiWiki/Plugin/websetup.pm
@@
-265,6
+265,8
@@
sub showform ($$) {
my $cgi=shift;
my $session=shift;
+ IkiWiki::needsignin($cgi, $session);
+
if (! defined $session->param("name") ||
! IkiWiki::is_admin($session->param("name"))) {
error(gettext("you are not logged in as an admin"));