]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/CGI.pm
Improve translatable texts to ease translation (e.g. to→into and from→inside)
[ikiwiki.git] / IkiWiki / CGI.pm
index 3000ed1000d1d978fc4ed633da4463de901a2baa..af58d7cb56893a831d5ae798d5c5f16fc96b23fd 100644 (file)
@@ -142,7 +142,12 @@ sub cgi_postsignin ($$) {
                exit;
        }
        else {
-               error(gettext("login failed, perhaps you need to turn on cookies?"));
+               if ($config{sslcookie} && ! $q->https()) {
+                       error(gettext("probable misconfiguration: sslcookie is set, but you are attempting to login via http, not https"));
+               }
+               else {
+                       error(gettext("login failed, perhaps you need to turn on cookies?"));
+               }
        }
 }