aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-12 20:56:54 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-12 20:56:54 +0000
commit7ceb5b1f75efa68aac88c179dd6d14e743e4a2ae (patch)
treee7bbf866d42e6b39817dd6cb1d0b6bd8db83cb62 /IkiWiki
parent8c8ce06a1b267a5c5d0b1a4f2b229b6d15e63b71 (diff)
downloadikiwiki-7ceb5b1f75efa68aac88c179dd6d14e743e4a2ae.tar
ikiwiki-7ceb5b1f75efa68aac88c179dd6d14e743e4a2ae.tar.gz
Improve error message when postsignin (probably from openid) fails due to
cookies not being enabled. Adds a new translatable string..
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index b1f770b05..71a3299a4 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -646,6 +646,9 @@ sub cgi (;$$) { #{{{
$q->param('do', 'create');
cgi_editpage($q, $session);
}
+ elsif ($do eq 'postsignin') {
+ error(gettext("login failed, perhaps you need to turn on cookies?"));
+ }
else {
error("unknown do parameter");
}