diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-12 20:56:54 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-12 20:56:54 +0000 |
commit | 7ceb5b1f75efa68aac88c179dd6d14e743e4a2ae (patch) | |
tree | e7bbf866d42e6b39817dd6cb1d0b6bd8db83cb62 /IkiWiki | |
parent | 8c8ce06a1b267a5c5d0b1a4f2b229b6d15e63b71 (diff) | |
download | ikiwiki-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.pm | 3 |
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"); } |